:root {
    --primary: #234075;   /* Deep Navy */
    --accent: #EB2D37;    /* Red Brand Color */
    --highlight: #2c7be5; /* Focus Blue */
    --bg-gray: #f4f6f8;
    --text-dark: #2c3e50;
    --input-border: #c6c9cd;
    --white: #ffffff;
    --pill-radius: 50px;
    --card-radius: 16px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
/* --- 1. AURORA BACKGROUND --- */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    /*padding: 20px; */
    /*min-height: 100vh;*/
    /*display: flex; */
    /*justify-content: center; */
    /*align-items: flex-start;*/
    color: var(--text-dark);
    background: #fff!important;
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    /*padding-top: 40px;*/
}
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* --- 2. LAYOUT --- */
.main-wrapper {
    /*display: flex;*/
    gap: 30px;
    width: 100%;
    max-width: 1250px;
    margin:12px auto;
    animation: floatUp 0.8s var(--ease);
    
}
@keyframes floatUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.form-card {
        flex: 2.2;
    background: var(--white);
    border-radius: 0px;
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);*/
    padding: 30px 30px 45px 30px;
    position: relative;
    border: 1px solid #e5e5e5;
}
hr.hrdashed {
    border: 0;
    border-top: 1px dashed #6c6c6c;
    margin: 30px 0;
}
.sidebar {
    flex: 1;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--card-radius);
    padding: 30px;
    height: fit-content;
    position: sticky; top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid white;
}

/* --- 3. HEADER & PROGRESS --- */
header { justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
h1 { margin: 0; font-size: 26px; color: var(--primary); letter-spacing: -0.5px; }
.app-id { color: #888; font-size: 13px; font-family: monospace; margin-top: 5px; }

.traveler-badge {
    background: #eff6ff; color: var(--primary); padding: 8px 16px; border-radius: 10px;
    font-weight: 700; font-size: 13px; border: 1px solid #bfdbfe; align-items: center;
}
.d-none{
    display:none !important;
}
.progress-container {
    background: #e9ecef; height: 8px; width: 100%; border-radius: 10px; margin-bottom: 35px; overflow: hidden;
}
.progress-fill {
    height: 100%; background: linear-gradient(90deg, var(--primary), var(--highlight));
    width: 16%; border-radius: 10px; transition: width 0.6s var(--ease);
}

/* --- 4. INPUTS --- */
.step-content { display: none; opacity: 0; transform: translateX(20px); transition: 0.4s; }
.step-content.current { display: block; opacity: 1; transform: translateX(0); }

.step legend { font-size: 22px; color: var(--primary); margin: 0 0 25px 0; border-bottom: 1px solid #eee; padding-bottom: 15px; font-weight: 600;}
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}
.required::after {
    content: " *";
    color: #dc3545;
}
.form-checkbox {
    margin-left: 10px;
}
.contant {
    border: 1px solid #ddd;
    margin-top: 12px;
    max-height: 240px;
    overflow-y: scroll;
    padding: 6px 8px;
    width: 100%;
    height: 240px;
}
.form-checkbox label {
    margin: 0px;
    padding: 0px;
    font-size: 13px;
    padding-left: 4px;
}
.traveler-badge p {
    margin: 0;
}
.form-row { margin-bottom: 30px; }
.form-group { flex: 1; display: flex; flex-direction: column; min-width: 200px; }
label { 
    font-weight: 600; 
    font-size: 14px;
    color: #171717;
    margin-bottom: 8px; 
    margin-left: 0px; 
    
}

input[type="text"], input[type="email"], input[type="date"], input[type="tel"], select, textarea {
    height: 44px; padding: 0 20px;
    border: 1px solid var(--input-border);
    border-radius: var(--pill-radius);
    font-size: 15px; background: #fff; transition: 0.2s; width: 100%; box-sizing: border-box; appearance: none;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--highlight); box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.1); transform: scale(1.01);
}
.btn-container a.btn {
    border-radius: 45px;
    box-shadow: 0 4px 15px rgba(212, 32, 39, 0.3);
    padding: 16px 40px;
    font-weight: 700;
    transition: 0.3s;
    text-align:center!important;
}
.privewtrvldate {
    border: 1px solid #CCC;
    background: #f0f0f0;
    padding: 10px 10px;
    border-radius: 6px;
}
.privewtrvldate .info-row {
    margin: 0px;
}
select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23234075%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat; background-position: right 20px center; background-size: 10px;
}
textarea { height: auto; padding-top: 15px; border-radius: 20px; resize: vertical; }
.date-group { display: flex; gap: 10px; flex-wrap:wrap;} .date-group select { flex: 1; }

/* --- 5. BUTTONS --- */
.btn-container { display: flex; justify-content: space-between; }



button { padding: 16px 40px; border-radius: var(--pill-radius); font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: 0.3s; }
.btn-prev { background: #f8f9fa; color: #666; border: 1px solid #ddd; }
.btn-prev:hover { background: #e9ecef; }
.btn-next { background: var(--accent); color: white; margin-left: auto; box-shadow: 0 4px 15px rgba(212, 32, 39, 0.3); }
.btn-next:hover { background: #b01b21; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 32, 39, 0.4); }
.btn-container button {
    border-radius: 45px;
}
/* --- 6. SECTION 5: QUESTION CARDS --- */
.question-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}
.question-box:hover {
    border-color: var(--highlight);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.question-label { font-size: 14px; color: #333; font-weight: 600; display: block; margin-bottom: 12px; }

/* Styled Yes/No Pills */
.radio-options { display: flex; gap: 15px; }
.radio-card {
    flex: 1;
    position: relative;
}

.do_you_have_these_conditions_css{
    flex-wrap:wrap;   
}
.do_you_have_these_conditions_css > .radio-card{
    flex:0 0 48%;
    
}
@media(max-width:768px){
    .do_you_have_these_conditions_css > .radio-card{
        flex:0 0 100%;
    }
}
#secondsetup .form-checkbox {
    border: none;
}
.radio-card input {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.radio-card span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--pill-radius);
    font-size: 14px; color: #666;
    cursor: pointer; transition: 0.2s;
}
.radio-card input:checked + span {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(35, 64, 117, 0.2);
}

/* --- 7. SECTION 6: PROCESSING CARDS --- */
.plan-grid { display: flex; gap: 20px; margin-top: 15px; }
.plan-card {
    flex: 1;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}
.plan-card:hover { border-color: #cbd5e0; transform: translateY(-2px); }
.plan-card.selected {
    border-color: var(--primary);
    background: #f8fbff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.plan-card input { position: absolute; opacity: 0; }

.plan-title { font-size: 16px; font-weight: 700; color: var(--primary); display: block; margin-bottom: 5px; }
.plan-desc { font-size: 12px; color: #666; }
.check-circle {
    position: absolute; top: 15px; right: 15px; width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid #ccc;
}
.plan-card.selected .check-circle {
    background: var(--primary); border-color: var(--primary); box-shadow: inset 0 0 0 3px #fff;
}

/* --- SIDEBAR & SUMMARY --- */
.summary-header { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--primary); border-bottom: 2px solid #eee; padding-bottom: 15px; }
.info-row { display: flex; gap: 15px; margin-bottom: 20px; }
.info-icon { width: 35px; height: 35px; background: #eef2ff; color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-text h4 { margin: 0 0 4px 0; font-size: 14px; color: var(--primary); }
.info-text p { margin: 0; font-size: 12px; color: #666; }
.secure-badge { margin-top: 30px; text-align: center; color: #059669; font-weight: 700; font-size: 13px; padding-top: 20px; border-top: 1px solid #eee; }
.traveler-card { background: #f8fbfe; border: 1px solid #dbeafe; padding: 20px; border-radius: 16px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.action-link { font-size: 13px; font-weight: bold; cursor: pointer; margin-left: 15px; }
.edit-lnk { color: var(--highlight); } .del-lnk { color: var(--accent); }

@media (max-width: 900px) { .main-wrapper { flex-direction: column-reverse; padding: 0px; } .sidebar { position: static; } .form-row { flex-direction: column; gap: 15px; } }



.policy_outer_box{
        padding: 10px 24px;
    border-radius: 65px;   
}

.outer_box_css{
        padding: 10px 24px;
    border: 1px solid #c0c0c0;
    border-radius: 15px;
}
/* Preloader Background */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #0000008f; /* Dark premium background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader Animation */
.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #e2e8f0;
    border-top: 6px solid #d92c29; /* Blue highlight */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
p.form-label {
    font-weight: 600;
}



.date-group-new{
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 5px;
}
.date-group-new .invalid-feedback{
    grid-column: 1 / -1;
}
.secure-badge i {
    color: #3da800;
}

.canada_top_content {
    text-align: center;
}
.canada_top_content h6 {
    font-size: 32px;
    font-weight: 500;
    color: black;
    padding: 10px 0px;
    margin-bottom: 12px;
    border-bottom: 1px solid black;
}

.canada_top_content .sub_heading {
    font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    background: #EB2D37;
    
}
.canada_top_content p {
    font-size: 16px;
    color: #7c7c7c;
    margin-bottom: 10px;
}

.canada_top_content .title_info {
    font-size: 32px;
    font-weight: 500;
    color: black;
    padding: 10px 0px;
    margin-bottom: 30px;
    border-bottom: 1px solid black;
}
.canada_top_content .title_info i{
    color: #eb2d37;
}
.outerbox .form-checkbox {
    border: 1px solid #c0c0c0;
    border-radius: 15px;
    margin-left:0px;
}

.heading_canada{
        text-align: center;
    font-size: 40px;
    font-weight: 500;
    /* background: #EB2D37; */
    /* color: #ffffff !important; */
    padding: 10px 0px;
    margin-bottom: 12px;
    /* border-bottom: 1px solid black*/;
}

.bottom_line{
    border-bottom:1px solid #bcbcbc;
    
}

@media(max-width:768px){
    .bottom_line{
        display:none;
    }
    .heading_canada{
         
        display:none;
    }
    .btn-next{
        width:100%;
        margin:0px;
    }
    .btn-container{
        display:flex;
            flex-direction: column-reverse;
        gap: 18px;
    }
    .policy_outer_box{
        display:flex;
        gap:0px 10px;
    }
}










