:root {
    --white: #fff;
    --black: #000;
    --theme-color: #ee4d64;
    --primary-color: #2c2e3f;
    --yellow-color: #ffeb00;
    --green-color: #72C293;
    --red-color: #E91630;
    --grey-color: #656666;
    --light-grey-color: #D9D9D6;
}

*::-webkit-scrollbar {
    display: none;
}
@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Bold.woff2') format('woff2'),
        url('../fonts/NouvelR-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Light.woff2') format('woff2'),
        url('../fonts/NouvelR-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Extrabold.woff2') format('woff2'),
        url('../fonts/NouvelR-Extrabold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Book.woff2') format('woff2'),
        url('../fonts/NouvelR-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Regular.woff2') format('woff2'),
        url('../fonts/NouvelR-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Semibold.woff2') format('woff2'),
        url('../fonts/NouvelR-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NouvelR';
    src: url('../fonts/NouvelR-Semibold.woff2') format('woff2'),
        url('../fonts/NouvelR-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "NouvelR" sans-serif;
    background-color: var(--white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

body {
    font-family: "NouvelR";
}

main {
    display: block;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: var(--secondary-color);
}

li {
    list-style: none;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-size: 1em;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 20px;
}
header{
    background-color: var(--black);
}
.renaultLogo{
    cursor: pointer;
}
.header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.closeIcon{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 28px;
}
.headerTitle{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.headerTitle .backBtn{
    height: 38px;
}
.headerTitle img{
    width: 20px;
    cursor: pointer;
}
.headerTitle span{
    display: block;
    color: var(--white);
}
.headerTitle .modelName{
    font-size: 15px;
    font-weight: 400;
    line-height: 15px;
}
.headerTitle .detailTitle{
    font-size: 23px;
    font-weight: 700;
    line-height: 23px;
}
.headerTitle .formTitle{
    font-size: 20px;
    font-weight: 400;
}

.yellowBar {
    background-color: var(--yellow-color);
    height: 10px;
    max-width: 720px;
}

/* Success Popup Modal Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-overlay.show {
    display: flex;
}

.popup-container {
    background-color: var(--white);
    border-radius: 8px;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
}

.popup-content {
    padding: 40px 30px;
    text-align: center;
}

/* Success Badge with Checkmark */
.success-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--white);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #3EBEAC;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #3EBEAC;
    fill: #3EBEAC;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--white);
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Popup Text Styles */
.popup-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.3;
}

.popup-title span {
    display: block;
    margin-top: 4px;
}

.popup-subtitle {
    font-size: 16px;
    color: var(--grey-color);
    margin-bottom: 8px;
    line-height: 1.5;
}

.popup-subtitle strong {
    color: var(--black);
    font-weight: 600;
}

.popup-booking-id {
    font-size: 16px;
    color: var(--black);
    margin-bottom: 24px;
}

.popup-booking-id strong {
    font-weight: 600;
}

/* Car Image */
.popup-car-image {
    margin: 24px 0 32px;
    padding: 0 20px;
}

.popup-car-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

/* Check Status Button */
.check-status-btn {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'NouvelR', sans-serif;
}

.check-status-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.check-status-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #3EBEAC;
    }
}

@media screen and (min-width: 768px) {
    .container{
        max-width: 1440px;
        margin: 0 auto;
        padding-inline: 80px;    
    }
    .header {
        padding: 15px 80px;
    }
    
    .popup-content {
        padding: 50px 40px;
    }
    
    .popup-title {
        font-size: 28px;
    }
    
    .popup-subtitle,
    .popup-booking-id {
        font-size: 18px;
    }
}
