#cargo-tracking {
    max-width: 1200px;
    margin: 50px auto 100px;
    padding: 20px;
    position: relative;
    text-align: center;
    color: #333;
}

#cargo-result{
	border-top:2px solid #eee;
	margin:40px auto
}

.cargo-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cargo-divider {
    width: 1px;
    height: 40px;
    background-color: #333;
    margin: 40px auto 40px auto;
}

.cargo-subtitle {
    margin: 10px 0 20px;
    color: #d12c2c;
    font-size: 16px;
}

.cargo-search-form {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.cargo-search-input {
    padding: 10px 12px;
    font-size: 16px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
}

.cargo-search-button {
    padding: 10px 40px;
    font-size: 16px;
    background-color: #d12c2c;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease;
	margin-left:5px;
}

.cargo-search-button:hover {
    background-color: #b61f1f;
}

.cargo-section {
    margin-top: 40px;
    text-align: left;
}

.cargo-section-title {
    font-size: 20px;
    font-weight: bold;
    color: #d12c2c;
	margin:50px auto 40px;
    text-align: center;
	display:block;
}

.cargo-table-wrapper {
    overflow-x: auto;
}

.cargo-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #d12c2c;
    min-width: 600px;
}

.cargo-table th,
.cargo-table td {

    border-top: 1px solid #d12c2c;
    padding: 20px 10px;
    text-align: center;
    font-size: 15px;
}

.cargo-table th:first-child,
.cargo-table td:first-child {
    border-left: none;
}

.cargo-table thead th {
    background-color: #fff;
    font-weight: bold;
    border-bottom: 1px solid #d12c2c;
}

.cargo-table tbody td {
    background-color: #f5f5f5;
}

.cargo-table tbody tr:last-child td {
    border-bottom: none;
}

.cargo-no-result {
    text-align: center;
    color: red;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

/* 반응형 대응 */
@media (max-width: 768px) {
    #cargo-tracking {
        padding: 10px;
    }

  
    .cargo-section-title {
        font-size: 18px;
    }

    .cargo-table {
        min-width: 100%;
        font-size: 14px;
    }

    .cargo-table th,
    .cargo-table td {
        padding: 8px 6px;
    }
	
	.cargo-search-form {
        flex-direction: column;
        align-items: center;
    }

    .cargo-search-input {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .cargo-search-button {
        width: 100%;
        max-width: 300px;
		margin-left:0px;
    }
}
