/* --- 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;
}

/* 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;
}

.new-resident-banner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
    color: white !important;
    background-color: #003e67;
    /* Height is now fully dynamic based on text + button */
}

/* Ensures the image fills the left side perfectly regardless of how long the list is */
.hero-image-cover {
    width: 100%;
    height: 100%;
    min-height: 250px; /* Increased min-height to balance the taller text block */
    object-fit: cover;
    display: block;
}

.button-yellow-lg {
    background-color: #ffcc00;
    color: #000 !important;
    transition: background-color 0.2s ease;
}

.new-resident-banner:hover .button-yellow-lg {
    background-color: #e6b800; /* Subtle feedback when hovering the card */
}

/* Symmetry Adjustment for Mobile */
@media (max-width: 767px) {
    .content-text {
        text-align: left; /* Keeps lists readable on small screens */
    }
    .button-yellow-lg {
        width: 100%; /* Makes button easier to click on mobile */
        justify-content: center;
    }
}