body {
    background-color: #f8f9fa;
    max-width: 400px;
    margin: 0 auto;
    font-family: "Manrope", sans-serif;
}

.header {
    background-image: url("../assets/images/header-bg.png");
    background-color: #f1fff9;
    padding-bottom: 48px !important;
}

.address {
    font-size: 12px;
    color: #aaa6a6;
}

.logo {
    /*width: 121px;*/
    height: 70px;
}

.content {
    border-radius: 30px 30px 0px 0px;
    background: #f7f7fa;
    box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.05);
    margin-top: -30px;
}

.section {
    padding: 0px 25px;
}

.section-title {
    color: #000;
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
}

.p-number-text {
    color: #282828;
    font-size: 14px;
}

.plat-number {
    border-radius: 50px;
    border: 1px solid #4c4981;
    background: #e8fff6;
    padding: 8px;
    color: #0080cb;
    font-size: 24px;
    font-weight: 700;
}

.country-flag {
    bottom: 7px;
    font-size: 20px;
    left: 14px;
}

.arrow-down {
    margin-left: 7px;
    height: 6px;
    width: 6px;
}

.flag {
    height: 26px;
    width: 26px;
}

.phone-input {
    padding-left: 70px !important;
}

.now-time {
    color: #23aeff;
    font-size: 14px;
    font-weight: 700;
}

.duration-container {
    -ms-overflow-style: none;
    white-space: nowrap; /* Prevent wrapping of child elements */
    cursor: grab;
    user-select: none; /* Prevent text selection */
    -webkit-user-select: none; /* For Safari */
    -ms-user-select: none;
}

    .duration-container::-webkit-scrollbar {
        display: none;
    }

.duration-btn {
    font-size: 14px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid #dbdbe1;
    background: #fff;
    min-width: 125px;
    margin-right: 10px;
    color: #5a5a5a;
}

.amount {
    font-size: 12px;
    color: #8498b4;
}

.duration-btn.active {
    background-color: #23aeff;
    color: white;
    border-color: #23aeff;
}

    .duration-btn.active .amount {
        color: white;
    }

.duration-btn.first-btn {
    margin-left: 25px;
}

.fee-card {
    border-radius: 32px;
    background: #fff;
    box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.1);
    padding: 30px 14px;
}

.parking-expire-text {
    color: #b3b3b3;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.expire-time {
    color: #000;
    font-size: 24px;
    font-weight: 700;
}

.expire-date {
    font-size: 18px;
    margin-left: 6px;
}

.divider {
    height: 1px;
    background: #d3d3d3;
}

.fee-text {
    color: #b3b3b3;
    font-size: 16px;
    font-weight: 700;
}

.amount-text {
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.total-amount {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-weight: 400;
}

/* Pay As You Go refinements */
.payg-type-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(35, 174, 255, 0.1);
    color: #23aeff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.type-margin {
    padding-left: 91px !important;
}
/* Ticket Transactions refined design */
.ticket-transaction-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.transaction-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.transaction-header-left {
    flex: 1;
}

.transaction-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 2px;
}

.transaction-value {
    font-size: 16px;
    color: #111827;
    font-weight: 600;
}

.transaction-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: #10b981;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    margin-left: 8px;
}

.transaction-badge.validation-badge {
    background-color: #10b981;
}

.transaction-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.transaction-details-left {
    flex: 1;
    min-width: 200px;
}

.transaction-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.transaction-detail-row:last-child {
    border-bottom: none;
}

.transaction-total-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    min-width: 120px;
    border: 1px solid #e5e7eb;
    align-self: flex-end;
    margin-left: auto;
}

.transaction-total-label {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.transaction-total-amount {
    font-size: 12px;
    color: #111827;
    font-weight: 600;
}

@media (max-width: 400px) {
    .transaction-details {
        flex-direction: column;
    }

    .transaction-total-box {
        width: 100%;
        margin-top: 12px;
    }

    .transaction-header {
        flex-direction: column;
        gap: 8px;
    }

    .transaction-badge {
        margin-left: 0;
        align-self: flex-start;
    }
}

.payg-price-list-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.payg-price-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.payg-price-table {
    margin-bottom: 0;
}

.payg-price-table thead th {
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    padding: 10px 12px;
}

.payg-price-table tbody td {
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
}

.payg-price-table tbody tr:last-child td {
    border-bottom: none;
}

.payg-price-table tbody tr:hover {
    background-color: #f9fafb;
}

.mode-item {
    display: flex;
    flex: 1;
    min-height: 70px;
    padding: 8px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    border-radius: 8px;
    background: #fff;
    color: #5a5a5a;
    font-size: 14px;
    font-weight: 700;
    margin-right: 10px;
    border: 1px solid #dbdbe1;
    cursor: pointer;
}

    /*.card-container {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease;
}*/

    /*  .card-container.visible {
        opacity: 1;
        transition: opacity 0.5s ease, height 0.5s ease;
    }*/

    .mode-item.active {
        color: #fff;
        background: #23aeff;
        border: 1px solid #23aeff;
    }

.button {
    border-radius: 8px;
    background: #23aeff;
    width: 100%;
    color: #fff;
    height: 46px;
    font-size: 18px;
    font-weight: 600;
}

    .button:hover {
        background: #019ef8;
        color: #fff;
    }

label {
    color: #9695a8;
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 7px !important;
}

.input {
    border: 0px solid transparent;
    border-radius: 0px;
    border-bottom: 2px solid rgba(136, 135, 156, 0.3);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #5a5a5a;
    font-family: Manrope;
    font-size: 13px;
    padding: 0px 14px;
    height: 40px;
}

.flex-1 {
    flex: 1;
}

@media (max-width: 350px) {
    .section {
        padding: 0px 20px;
    }
}

/* Confirmation Page */

.remaining-time {
    font-size: 18px;
    color: #333;
}

.time-text {
    font-size: 36px;
    color: black;
    font-weight: 800;
}

.time-hour {
    font-weight: 400;
}

.parking-id-text {
    font-size: 16px;
    color: #333;
}

.parking-id {
    font-weight: bold;
}

.qr-container {
    border-radius: 13px;
    background: #fff;
    box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.15);
    padding: 13px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

    .qr-container img {
        height: 200px;
        width: 200px;
    }

.ticket-no {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.dotted-container {
    border-top: 1px solid transparent; /* Set border width */
    border-image: repeating-linear-gradient( to right, black 0, black 10px, transparent 10px, transparent 20px );
    border-image-slice: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.circle1 {
    background-color: #f7f7fa;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin-top: -25px;
    margin-left: -25px;
}

.circle2 {
    background-color: #f7f7fa;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin-top: -25px;
    margin-right: -25px;
}

.address {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 170%; /* 21.863px */
}

.car-request-button {
    width: 197px;
    background-color: #23aeff;
    color: white;
    font-size: 14px;
    font-weight: 700;
    height: 46px;
}

    .car-request-button:hover {
        background: #019ef8;
        color: #fff;
    }

.ticket-row {
    color: #333;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
}

.ticket-text {
    text-align: right;
}

.ticket-value {
    font-weight: bold;
    text-align: left;
}

.terms-condition {
    color: #23AEFF;
    font-size: 14px;
    font-weight: 600;
}

/*#countryDropdown{
    width:60% !important;
}*/

#dvParkingTime {
    display: flex;
    justify-content: center;
}

#timeDays, #timeHours, #timeMins, #timeSec {
    width: 50px;
}

.ticketTextMargin {
    margin-left: -20px;
}

.fontsize {
    font-size: 15px;
}


/* More Details */
.view-details-btn {
    color: #23aeff !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.detail-arrow {
    height: 20px;
    width: 20px;
    transition: transform 0.5s ease;
}

    .detail-arrow.rotated {
        transform: rotate(180deg);
    }

.more-details {
    background-color: white;
    border-radius: 10px;
    margin: 25px;
    margin-top: 0px;
    padding: 14px 15px 25px 15px;
}

.more-details-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

    .more-details-container.show-more-details {
        max-height: 700px;
        opacity: 1;
    }

.detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 7px;
    border-bottom: 1px solid #e8e8e8;
}

.detail-title {
    color: #b3b3b3;
    font-size: 13px;
    font-weight: 500;
}

.detail-value {
    color: #000;
    font-size: 13px;
    font-weight: 600;
}

.detail-item:last-child {
    border-bottom: 0px solid #adabab;
}

.total-fine-row {
    display: flex;
    justify-content: space-between;
}

.original-fine-row {
    display: flex;
    justify-content: space-between;
}

    .original-fine-row div {
        font-size: 11px;
        color: gray;
    }

.more-details-visible {
    display: none;
}
