/* --- 1. Global Reset --- */
* {
    font-family: 'Roboto', sans-serif !important;
}

/* --- 2. Top Navigation (Square Corporate Tabs) --- */
/* Matches class="nav-tabs dmv-custom-tabs" */
.dmv-custom-tabs {
    background-color: #003e67 !important;
    border: none !important;
    display: flex;
    padding: 0;
}

.dmv-custom-tabs .nav-item {
    margin-bottom: 0;
}

.dmv-custom-tabs .nav-link {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 30px;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    margin: 0;
}

/* Active State for Top Tabs */
.dmv-custom-tabs .nav-link.active {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 4px solid #00b4d8 !important; /* The cyan accent */
}

/* --- 3. Bottom Navigation (Rounded Pill Tabs) --- */
/* Matches class="nav-pills custom-pill-bar" */
.custom-pill-bar {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    padding: 6px;
    display: inline-flex;
    width: auto;
    overflow-x: auto; /* Helpful for mobile if many tabs exist */
    white-space: nowrap;
}

.custom-pill-bar .nav-link {
    border-radius: 50px !important;
    color: #495057 !important;
    font-weight: 600;
    padding: 8px 20px;
    border: none !important;
    background: transparent !important;
    transition: all 0.2s ease;
}

/* Active State for Pill Tabs */
.custom-pill-bar .nav-link.active {
    background-color: #003e67 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 62, 103, 0.2);
}

/* --- 4. Custom Utility Classes --- */
.border-custom-blue {
    border: 2px solid #00b4d8 !important;
}

.border-custom-gray {
    border: 1px solid #c4c4c4 !important;
}

.iconbackgroundblue {
    background-color: #f0f9ff;
    padding: 3px; /* As you requested */
    border-radius: 8px;
    
    /* ADD THESE: Forces the background to be a specific size */
    width: 32px;
    height: 32px;
    
    /* Centers the icon inside that fixed size */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Spacing from the text */
    margin-right: 1rem; 
}

.iconbackgroundorange {
    background-color: #fff;
    padding: 3px; /* As you requested */
    border-radius: 8px;
    border-color: #e6f2e9 !important;
    /* ADD THESE: Forces the background to be a specific size */
    width: 32px;
    height: 32px;
    
    /* Centers the icon inside that fixed size */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Spacing from the text */
    margin-right: 1rem; 
}

.iconbackgroundred {
    background-color: #fff1f1;
    padding: 3px; /* As you requested */
    border-radius: 8px;
    border-color: #e6f2e9 !important;
    /* ADD THESE: Forces the background to be a specific size */
    width: 32px;
    height: 32px;
    
    /* Centers the icon inside that fixed size */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Spacing from the text */
    margin-right: 1rem; 
}


.link-dmv-blue {
    color: #003e67 !important;
    text-underline-offset: 3px;
}

.h5-dmv-blue {
    color: #003e67 !important;
}

/* Checkbox Bullets Custom Styling */
ul.checkbullets {
    list-style: none;
    padding-left: 0;
}

.checkbullets > li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.checkbullets > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("../images/dlduplicate/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- 5. Hero & Content Layout --- */
.hero-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">" !important;
}

.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #003859;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

.step-circle2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #005a94;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

/* Checkbox Bullets Custom Styling */
ul.rejectbullets {
    list-style: none;
    padding-left: 0;
}

.rejectbullets > li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.rejectbullets > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("../images/dlresidency/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
:root {
    --color-primary-blue-600: #1a56db; 
}

/* 1. Main Banner Container */
.new-resident-banner {
    display: block;
    background-color: var(--color-primary-blue-600);
    overflow: hidden;
    /* Replaced 'text-decoration' logic with a cursor pointer if you want the whole card to feel interactive */
    cursor: default; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.new-resident-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* 2. Image Area - UNTOUCHED */
.hero-image-container {
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%; 
}

.hero-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.new-resident-banner:hover .hero-image-cover {
    transform: scale(1.1);
}

/* 3. Text Styling - UNTOUCHED */
.content-text h2 {
    color: white !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.content-text p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 4. Link Hover Correction */
.new-resident-banner .text-warning:hover {
    color: #fff !important;
    text-decoration: none !important;
}
.dmv-table {
    border-color: #d9d9d9;
    vertical-align: middle;
}

.dmv-table thead,
.dmv-table thead tr,
.dmv-table thead th {
    background-color: #f0f9ff !important;
}

.dmv-table th {
    padding: 12px 10px;
    border-color: #d9d9d9;
}

.dmv-table th h5 {
    color: #003e67;
}

.dmv-table td {
    padding: 10px;
    border-color: #d9d9d9;
}

.dmv-fee-col {
    width: 180px;
}

/* Circle Icon */
.dmv-icon-circle {
    width: 64px;
    height: 64px;
    background-color: #f0f9ff;
   
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner icon */
.dmv-icon-circle img {
    width: 32px;
    height: 100%;
}

/* PDF Bullet List */
.pdfbullets {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.pdfbullets li {
    position: relative;
    padding-left: 28px; /* space for icon */
    margin-bottom: 6px;
}

.pdfbullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;

    width: 20px;
    height: 20px;

    background-image: url("../images/registrationmain/PDF_red.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* PDF Bullet List Item */
.pdf-li {
    list-style: none;
    position: relative;
    padding-left: 28px; /* space for icon */
    margin-bottom: 6px;
}

.pdf-li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;

    width: 20px;
    height: 20px;

    background-image: url("../images/registrationmain/PDF_red.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* DMV Statutes Table Styles - Horizontal Lines Only */
.table-responsive {
    border-radius: 4px;
    overflow: hidden;
    border: none !important; 
}

.table {
    margin-bottom: 0;
    font-size: 0.95rem;
    border-collapse: collapse;
}

/* Header Styling - Solid Blue Bar */
.table thead th {
    background-color: #0077b6 !important;
    color: #ffffff;
    font-weight: 600;
    border: none !important; 
    padding: 12px 15px;
}

/* Cell Styling - Horizontal Lines Only */
.table tbody td {
    padding: 12px 15px;
    /* Only apply the bottom border */
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #d9d9d9 !important; 
    color: #000000 !important; 
}

/* Ensure the last row doesn't have a double border if it's in a container */
.table tbody tr:last-child td {
    border-bottom: 1px solid #d9d9d9 !important;
}

/* Vertical alignment for action columns (without the lines) */
.table th.text-center, 
.table td.text-center {
    text-align: center;
    border-left: none !important; /* Removes vertical divider */
}


/* DMV Fees Table */
.tablefees {
    border: 1px solid #d9d9d9;
    border-collapse: collapse;
    width: 100%;
    vertical-align: middle;
}

.tablefees th,
.tablefees td {
    border: 1px solid #d9d9d9;
    padding: 10px;
}

/* Header */
.tablefees thead th {
    background-color: #f0f9ff !important;
    padding: 12px 10px;
}

.tablefees thead h5 {
    color: #003e67;
    margin: 0;
}

/* Zebra striping */
.tablefees tbody tr:nth-child(even) {
    background-color: #f8f8f8;
}

.tablefees tbody tr:nth-child(odd) {
    background-color: #ffffff;
}