﻿/* General Page */
body {
    font-family: "Segoe UI", Calibri, sans-serif;
    background: #f3f6fa;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* ✨ Card Style Box */
.card-box {
    background: #fff;
    border: 2px solid #028581; /* outer border */
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px auto;
    max-width: 1200px;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s;
}

    .card-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

/* ✨ Header inside card */
.card-header {
    border-bottom: 3px solid #028581;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-header h2 {
        font-size: 28px;
        font-weight: 700;
        color: #028581;
        margin: 0;
    }

/* ✨ Input Fields */
input[type="text"], input[type="date"], .departDate {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 15px;
    background: #fafafa;
}

    input[type="text"]:focus, .departDate:focus {
        border-color: #028581;
        background: #fff;
        box-shadow: 0 0 8px rgba(2, 133, 129, 0.4);
        outline: none;
    }

/* ✨ Buttons */
.w3-button {
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    cursor: pointer;
    transition: 0.3s;
}

.w3-deepskyblue {
    background: #028581 !important;
    color: #fff !important;
}

    .w3-deepskyblue:hover {
        background: #026f6b !important;
    }

.w3-red {
    background: #f44336 !important;
    color: #fff !important;
}

    .w3-red:hover {
        background: #d32f2f !important;
    }

/* ✨ Passenger Grid as Card Table */
#GridPassengerDetail {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 15px;
}

    #GridPassengerDetail th {
        background: #028581;
        color: #fff;
        padding: 12px;
        text-align: center;
        font-size: 15px;
    }

    #GridPassengerDetail td {
        padding: 12px;
        font-size: 14px;
        text-align: center;
    }

    #GridPassengerDetail tr:nth-child(even) {
        background: #f8f9fb;
    }

/* ✨ Charges Section as Sub Card */
.charges-card {
    background: #fdfefe;
    border: 1px solid #028581;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
}

/* ✨ Responsive */
@media (max-width: 768px) {
    .card-box {
        padding: 15px;
    }

    .w3-button {
        width: 100%;
        margin-bottom: 10px;
    }

    #GridPassengerDetail th, #GridPassengerDetail td {
        font-size: 13px;
        padding: 8px;
    }
}
