/* =====================================================
   VEHICLE QR CONTACT
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =====================================================
   BODY
===================================================== */

body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #f5f7fa,
            #e9eef5
        );

    color: #222;

    min-height: 100vh;

}


/* =====================================================
   PAGE
===================================================== */

.page {

    width: 100%;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px 15px;

}


/* =====================================================
   VEHICLE CARD
===================================================== */

.vehicle-card,
.home-card {

    width: 100%;

    max-width: 480px;

    background: #ffffff;

    border-radius: 20px;

    padding: 35px 25px;

    text-align: center;

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.10);

}


/* =====================================================
   ICON
===================================================== */

.vehicle-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f1f3f6;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 38px;

}


/* =====================================================
   HEADINGS
===================================================== */

h1 {

    font-size: 27px;

    margin-bottom: 10px;

    color: #111827;

}


h2 {

    font-size: 21px;

    margin-bottom: 10px;

}


/* =====================================================
   TEXT
===================================================== */

.small-text {

    color: #6b7280;

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 25px;

}


.subtitle {

    color: #6b7280;

    line-height: 1.6;

    margin-bottom: 25px;

}


.instruction {

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

    margin: 20px 0;

}


.bottom-text {

    color: #6b7280;

    font-size: 13px;

    margin-top: 20px;

}


/* =====================================================
   LABEL
===================================================== */

.label {

    color: #6b7280;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 7px;

}


/* =====================================================
   CAR NUMBER
===================================================== */

.car-number {

    background: #f3f4f6;

    border-radius: 12px;

    padding: 16px 10px;

    font-size: 26px;

    font-weight: bold;

    letter-spacing: 1px;

    color: #111827;

    word-break: break-word;

}


/* =====================================================
   BUTTONS
===================================================== */

.action-button {

    width: 100%;

    min-height: 58px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    text-decoration: none;

    font-size: 17px;

    font-weight: bold;

    margin-top: 12px;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;

}


.action-button:hover {

    transform: translateY(-1px);

    opacity: 0.9;

}


.action-button:active {

    transform: scale(0.98);

}


.call-button {

    background: #111827;

    color: white;

}


.whatsapp-button {

    background: #25d366;

    color: white;

}


.button-icon {

    font-size: 22px;

}


/* =====================================================
   PRIVACY NOTE
===================================================== */

.privacy-note {

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.5;

    margin-top: 20px;

}


/* =====================================================
   LOADING
===================================================== */

.loading-box {

    padding: 25px 0;

    color: #6b7280;

}


.loader {

    width: 38px;

    height: 38px;

    margin: 0 auto 15px;

    border: 4px solid #e5e7eb;

    border-top: 4px solid #111827;

    border-radius: 50%;

    animation:
        spin 0.8s linear infinite;

}


@keyframes spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =====================================================
   ERROR
===================================================== */

.error-box {

    padding: 20px 5px;

}


.error-icon {

    font-size: 42px;

    margin-bottom: 15px;

}


.error-box p {

    color: #6b7280;

    line-height: 1.6;

    font-size: 14px;

}


/* =====================================================
   HOME INFO CARD
===================================================== */

.info-card {

    text-align: left;

    background: #f8fafc;

    border-radius: 15px;

    padding: 10px 15px;

}


.info-item {

    display: flex;

    gap: 15px;

    align-items: flex-start;

    padding: 15px 5px;

    border-bottom:
        1px solid #e5e7eb;

}


.info-item:last-child {

    border-bottom: none;

}


.info-item > span {

    font-size: 25px;

}


.info-item strong {

    display: block;

    margin-bottom: 4px;

}


.info-item p {

    color: #6b7280;

    font-size: 13px;

    line-height: 1.5;

}


/* =====================================================
   FOOTER
===================================================== */

footer {

    margin-top: 20px;

    color: #9ca3af;

    font-size: 12px;

    text-align: center;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    .page {

        padding:
            15px 10px;

    }


    .vehicle-card,
    .home-card {

        padding:
            30px 20px;

        border-radius: 17px;

    }


    h1 {

        font-size: 24px;

    }


    .car-number {

        font-size: 23px;

    }

}