/* Page background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Unica One', 'Antonio', sans-serif;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.roundtrip-container {
    background-color: #fff8e1;
    border: 2px dashed #D2AC47;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 2rem; /* ← adds space above */
    margin-bottom: 1.5rem;
}

/* Gradient border wrapper */
.border-container {
    background: linear-gradient(135deg, #D2AC47 0%, #EDC967 100%);
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(210, 172, 71, 0.4);
    border: 4px ridge #D2AC47;

    background: linear-gradient(135deg, #D2AC47 0%, #EDC967 100%);
    padding: 5px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Inner white card */
.card {
    border: 3px double #D2AC47;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 30px rgba(210, 172, 71, 0.3);

    background: #ffffff;
    border-radius: 37px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    position: relative;
    padding-top: 4.5rem; /* ⬅️ increase this from the default 2.5rem */
    font-family: 'Antonio', sans-serif;


}

h1, h3 {
    font-family: 'Antonio', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #333;
}

/* Specific h1 styling override */
h1 {
    font-size: .5rem;      /* smaller text size */
    white-space: nowrap;    /* keep it on one line */
    text-align: center;     /* optional centering */
}


#stepIndicator {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

#occasion
{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 0.5rem;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#countryCode{
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 0.5rem;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
input#occasion  {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 0.5rem;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: #B88A44;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* Toggle switch styling */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 0.5rem;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 2px;
    bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; }
.switch input:checked + .slider { background-color: #AE8625; }
.switch input:checked + .slider:before { transform: translateX(26px); }

.tooltip {
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: #667eea;
}

/* CTA buttons */
button#nextBtn,
button#finishBtn {
    width: 100%;
    padding: 0.85rem;
    margin-top: 1.5rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #D2AC47 0%, #EDC967 100%);
    box-shadow: 0 6px 18px rgba(210, 172, 71, 0.5);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

button#nextBtn:hover,
button#finishBtn:hover {
    box-shadow: 0 8px 24px rgba(210, 172, 71, 0.7), 0 0 8px rgba(210, 172, 71, 0.5);
    transform: translateY(-2px);
}


/* Show Breakdown button fiery red gradient */

button#finishBtn {
    width: 100%;
    padding: 0.85rem;
    margin-top: 1.5rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #D2AC47 0%, #EDC967 100%);
    box-shadow: 0 6px 18px rgba(210, 172, 71, 0.5);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}


button#finishBtn:hover {
    box-shadow: 0 8px 24px rgba(210, 172, 71, 0.7), 0 0 8px rgba(210, 172, 71, 0.5);
    transform: translateY(-2px);
}


#backBtn {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #D2AC47, #EDC967);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(210, 172, 71, 0.3);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

#backBtn:hover {
    box-shadow: 0 6px 16px rgba(210, 172, 71, 0.5);
    transform: translateY(-2px);
}

#result { margin-top: 1rem; font-weight: bold; text-align: center; color: #333; }

/* Modal overlay for tooltip */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: none; align-items: center; justify-content: center; }
.modal-container { background: #fff; border-radius: 30px; padding: 2rem;
    max-width: 300px; text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.modal-container h4 { margin-top: 0; color: #333; }
.modal-close { position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 1.2rem; }

.roundtrip-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("https://cdn.jsdelivr.net/gh/AE24601/email-assets@master/ROUNDTRIP-ICON-SMALL.png");
}

/* Onyx */
.company-onyx .roundtrip-icon,
.company-onyx-bus .roundtrip-icon {
    background-image: url("https://cdn.jsdelivr.net/gh/AE24601/email-assets@master/ONYX-ICON.png");
}
