/* =========================
   Custom Sidebar Hover Layout
   Works with AdminLTE wrapper
   ========================= */
/* :root {
    --bs-border-radius: 0.375rem;
    --light-bg-color: #161e35;
    --dark-bg-color: #080b1d;
    --btn-color: #0dc89b;
    --font-color: #fff;
} */

/* Global */
/* body {
    font-family: "Poppins", sans-serif;
    background: rgba(240, 242, 251, 1);
    color: #313131;
    margin: 0;
    padding: 0;
} */
:root {
    --primary-color: #0d6efd;
    --sidebar-bg: linear-gradient(180deg, #0e4b85 0%, #002e5b 100%); 
    --nav-width-mini: 80px; 
    --nav-width-open: 260px;
    --header-height: 70px;
    --bg-light: #f4f6f9;
}

body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}
.loader {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: #f1f1f1d1;
}
.loader-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loader img {
    width: 70px;
}

.text-custom-dark {
    color: #3071e7 !important;
}

.form-control:focus {
    box-shadow: none;
    outline: #03a9f4;
    border-color: #03a9f4 !important;
}

/* -------------------------
   Sidebar (collapsed -> expanded)
   ------------------------- */


.main-footer {
    margin-left: 70px !important;
    /* collapsed baseline */
    transition: margin-left 0.25s ease;
    will-change: margin-left;
    margin-bottom: 10px;
    background: rgba(240, 240, 240, 1);
}


/* -------------------------
   Cards, Table, Badges, etc.
   (optional UI polish)
   ------------------------- */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.table thead {
    background: #0074b7 !important;
    color: #fff !important;
}

.table td,
.table th {
    vertical-align: middle;
    text-align: center;
}

.status-badge {
    border-radius: 6px;
    color: #fff;
    padding: 4px 14px;
    font-weight: 500;
}

.status-pending {
    background: #ffb200;
}

.status-approved {
    background: #34bb69;
}

.status-rejected {
    background: #ea3c3c;
}

.action-btn {
    background: #e8f2ff;
    color: #0074b7;
    border-radius: 6px;
    font-weight: 600;
    padding: 5px 12px;
    border: none;
    transition: background 0.2s;
}

.action-btn:hover {
    background: #d0e5fa;
    color: #005787;
}

/* header CSS */
.title-section {
    margin: 15px;
}

.title-section h1 {
    color: #f39c12;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin: 2px 0 0 0;
}


.customBtn {
    background: linear-gradient(
        135deg,
        rgba(23, 118, 153, 1) 0%,
        rgba(0, 48, 125, 1) 100%
    );
    border: none;
    color: #fff;
    /* padding: 10px 20px; */
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.customBtnReset {
    background: linear-gradient(
        135deg,
        rgb(153, 23, 23) 0%,
        rgba(0, 48, 125, 1) 100%
    );
    border: none;
    color: #fff;
    /* padding: 10px 20px; */
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-bg {
    background: linear-gradient(
        135deg,
        rgba(23, 118, 153, 1) 0%,
        rgba(0, 48, 125, 1) 100%
    );
    color: #fff;
}

/* Take Action view page */
.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

/* Rotate chevron when expanded */
.collapse-header .chevron {
    transition: transform 0.3s ease;
}

.collapse-header[aria-expanded="true"] .chevron {
    transform: rotate(90deg);
}

.form-section-title {
    background: rgba(221, 230, 238, 1);
    color: #2767b4;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    padding: 12px 0;
}

.form-section-title-2 {
    color: #2767b4;
    font-weight: 600;
}

.form-section {
    background: rgba(251, 254, 255, 1);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.rotate-icon {
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .rotate-icon {
    transform: rotate(90deg);
    /* from left → down */
}

.header-accordion {
    background-color: rgba(221, 230, 238, 1);
}

.header-accordion-button {
    color: white;
    border: none;
    background: none;
}

.accordion-item {
    background: rgb(252 248 248);
}

.details-content .form-label {
    font-weight: 300 !important;
}

/* .details-content table thead{
    background: black !important;
} */

.noting-content-section {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on small screens */
    align-items: center;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(50, 103, 213, 0.04);
    border: none;
}

.reviewed_user {
    width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reviewed_user img {
    max-width: 50px;
    height: auto;
    margin-bottom: 5px;
}

.vertical-divider {
    width: 1px;
    height: 60px;
    background: #e0e5eb;
    margin: 0 22px;
}

.action-information-box {
    flex: 1;
    min-width: 200px; /* ensures it doesn’t shrink too much */
}

.noting-view-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.noting-view-button button {
    color: white;
    background: linear-gradient(rgba(35, 168, 192, 1), rgba(46, 87, 153, 1));
    border-radius: 5px;
    border: none;
    margin-right: 15px;
    padding: 10px 50px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.noting-view-button button:hover {
    opacity: 0.9;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
    .noting-content-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .vertical-divider {
        display: none;
    }

    .action-information-box {
        margin: 10px 0;
    }

    .noting-view-button {
        width: 100%;
        justify-content: flex-start;
    }

    .noting-view-button button {
        width: 100%;
    }
}

/* Different colors per action */
#approve:checked::after {
    background-color: green;
}
#reject:checked::after {
    background-color: red;
}
#resubmit:checked::after {
    background-color: #007bff;
}
#revert:checked::after {
    background-color: #ff8800;
}

/* .form-check-label {
    font-weight: 500;
    margin-right: 10px;
} */

.btn-custom {
    background-color: #c2052d;
    color: white !important;
    padding: 8px 25px;
    color: white;
    background: linear-gradient(rgba(35, 168, 192, 1), rgba(46, 87, 153, 1));
    border-radius: 5px;
    border: none;
    margin-right: 15px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

/* Step Progress Bar */
.step-progress {
    width: 20%;
    float: left;
    /* padding-right: 20px; */
    font-size: 14px;
}

.step-progress ul {
    list-style: none;
    padding: 10px;
    position: relative;
}

.step-progress li {
    position: relative;
    margin-bottom: 60px;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

/* Connecting Line */
.step-progress li::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 11px;
    width: 2px;
    height: 60px;
    background-color: #d3d3d3;
    z-index: 0;
    transition: background-color 0.4s ease, height 0.4s ease;
}

/* Hide the line for the last step */
.step-progress li:last-child::before {
    display: none;
}

/* Circle Design */
.step-progress li .circle {
    position: relative;
    z-index: 1;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #286fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #286fff;
    font-size: 14px;
    background-color: white;
    transition: all 0.4s ease-in-out;
}

/* Active and Completed Steps */
.step-progress li.active .circle,
.step-progress li.completed .circle {
    background-color: #286fff;
    color: white;
}

.step-progress li.active {
    color: #286fff;
}

.step-progress li.completed {
    color: #3a67b3;
}

/* Animated Blue Line for Completed Steps */
.step-progress li.completed::before {
    background-color: #286fff;
    height: 60px;
    transition: background-color 0.4s ease, height 0.4s ease;
}

/* Optional glow for active circle */
.step-progress li.active .circle {
    box-shadow: 0 0 10px rgba(40, 111, 255, 0.6);
}

.btn-draft {
    background: #23a5b9;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-draft:hover {
    background: #138496;
}
.btn-continue {
    background: #2e5799;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-continue:hover {
    background: #357abd;
}

.btn-back {
    background: #ff8100;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-back:hover {
    background: #d3710f;
}

.custom-text {
    color: #1f2d3d;
}

.form-check-input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #ded2d9;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    margin-top: 0.2rem;
}

.form-check-input[type="radio"]:checked {
    background-color: #5c5c5c;
    border: 2px solid #ded2d9;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.custom-upload-btn {
    background: #ded2d9;
    color: #1c384e;
}

.file-input-doc::-webkit-file-upload-button {
    visibility: hidden;
}
.file-input-doc::before {
    content: "";
}
.file-input-doc {
    color: transparent;
}

.container-xxl {
    min-height: 720px !important;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.table-sm th,
.table-sm td {
    padding: 7px;
    font-size: 10px;
    vertical-align: middle;
}

.table-sm thead th {
    background: linear-gradient(143.46deg, #23a8c0 0.16%, #2e5799 94.92%);
    color: #fff;
    white-space: nowrap;
}

.table-sm input {
    width: 100%;
    border: 1px solid #ddd;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.table-sm input:focus {
    outline: none;
    border-color: #0d6efd;
}

.calendar-icon {
    position: relative;
}

.calendar-icon input {
    padding-right: 25px;
}

.calendar-icon i {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 11px;
}

.btn-upload {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-upload:hover {
    background-color: #e0e0e0;
}

.action-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background-color: #f0f0f0;
}

.btn-delete {
    color: #dc3545;
}

.btn-delete:hover {
    background-color: #ffe5e5;
}

.btn-add {
    color: #28a745;
}

.btn-add:hover {
    background-color: #e5f5e9;
}

.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.formLabel {
    font-size: 14px;
}

input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.btn-doc {
    background: #2e5799;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-doc:hover {
    background: #357abd;
}

.dropdown-menu label {
    display: block;
    padding: 6px 15px;
}
.dropdown-menu label:hover {
    background-color: #f5f5f5;
}

.error-row {
    background: #ffe6e6 !important;
    animation: blink 0.4s alternate 3;
}

@keyframes blink {
    from { background-color: #ffe6e6; }
    to { background-color: #ff0000; }
}

.fade-out {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-in-out;
}

.toastr-inline {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px 12px 15px;
    background-color: #2f96b4;
    color: #ffffff;
    border-radius: 3px;
    font-size: 13px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    gap: 12px;
}

.toastr-inline .toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toastr-inline .toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toastr-inline .toast-title {
    font-weight: bold;
    white-space: nowrap;
}

.toastr-inline .toast-message {
    font-weight: 300;
}



/* New CSSSSSSS */



/* =========================================
   DEFAULT DESKTOP STYLES (Vertical Stepper)
   ========================================= */

/* --- SIDEBAR DEFAULTS --- */
.sidebar {
    width: var(--nav-width-mini);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--sidebar-bg);
    z-index: 1050; /* Higher than header */
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

/* --- HEADER & CONTENT OFFSET --- */
.header-public {
    height: var(--header-height);
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: left 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.header {
    height: var(--header-height);
    background: #fff;
    position: fixed;
    top: 0;
    left: var(--nav-width-mini);
    right: 0;
    z-index: 999;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: left 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main-content {
    margin-left: var(--nav-width-mini);
    margin-top: var(--header-height);
    padding: 10px;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - 60px);
}

.header-logo-container img { height: 40px; }
.toggle-btn { cursor: pointer; }

/* Sidebar Inner Elements */
.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
}
.brand-name, .link-text, .chevron-icon { display: none; opacity: 0; }
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 15px 0;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-left: 4px solid transparent;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left-color: #fff;
}
.sidebar-link i.icon { font-size: 1.6rem; margin: 0; }
.submenu { display: none !important; }

.sidebar-nav, 
.submenu, 
.sidebar-nav li, 
.submenu li {
    list-style: none !important; /* Forces removal of dots */
    padding-left: 0;
    margin: 0;
}

/* Ensure submenu links align correctly after removing padding */
.submenu a {
    display: flex;       /* Aligns Icon and Text in a row */
    align-items: center; /* Vertically centers them */
    /* Adjusted padding: Left 40px + Icon width gives nice indentation */
    padding: 10px 10px 10px 40px !important; 
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Submenu Icon Style */
.submenu a i {
    font-size: 1.1rem; /* Slightly smaller than main menu icons */
    min-width: 20px;   /* Ensures text aligns even if icons vary in width */
    text-align: center;
}

.submenu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
/* Expanded State (Desktop Click) */
body.sidebar-open .sidebar { width: var(--nav-width-open); }
body.sidebar-open .header { left: var(--nav-width-open); }
body.sidebar-open .main-content { margin-left: var(--nav-width-open); }
body.sidebar-open .brand-name, 
body.sidebar-open .link-text, 
body.sidebar-open .chevron-icon { display: block; opacity: 1; }
body.sidebar-open .sidebar-link { justify-content: flex-start; padding-left: 25px; }
body.sidebar-open .sidebar-link i.icon { margin-right: 15px; }
body.sidebar-open .brand-name { display: block; }
body.sidebar-open .submenu.show { display: block !important; background: rgba(0,0,0,0.2); list-style: none; padding-left: 0; }
body.sidebar-open .submenu a { display: block; padding: 10px 10px 10px 65px; color: rgba(255,255,255,0.7); text-decoration: none; }


/* =========================================
   STEPPER STYLES (Responsive Logic)
   ========================================= */

/* Default: VERTICAL (Desktop) */
.stepper-container { position: relative; padding: 10px; }
.step-item { position: relative; padding-bottom: 0px; display: flex; align-items: flex-start; }
.step-item:last-child { padding-bottom: 0; }

/* Vertical Line */
.step-item::before {
    content: ''; position: absolute;
    left: 15px; top: 32px; bottom: -10px;
    width: 2px; background: #e9ecef; z-index: 1;
    display:none;
}
.step-item:last-child::before { display: none; }

.step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: #fff; border: 2px solid #ccc; color: #ccc;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; z-index: 2; margin-right: 15px; flex-shrink: 0;
}
.step-item.active .step-circle { border-color: var(--primary-color); color: var(--primary-color); background: #ebf5ff; }
.step-label { margin-top: 4px; font-weight: 500; color: #6c757d; }
.step-item.active .step-label { color: var(--primary-color); font-weight: 600; }


/* =========================================
   MOBILE / TABLET RESPONSIVENESS
   ========================================= */
@media (max-width: 991px) {
    /* 1. RESET LAYOUT FOR MOBILE */
    :root { --nav-width-mini: 0px; } /* Remove sidebar space */

    /* Hide sidebar completely by default */
    .sidebar { transform: translateX(-100%); width: 260px; } 
    
    /* When Open on Mobile: Slide In */
    .sidebar.mobile-show { transform: translateX(0); }

    /* Show all text inside sidebar immediately (no mini mode on mobile) */
    .brand-name, .link-text, .chevron-icon { display: block !important; opacity: 1 !important; }
    .sidebar-link { justify-content: flex-start; padding-left: 20px; }
    .sidebar-link i.icon { margin-right: 15px; }

    /* Reset Header & Content margins */
    .header { left: 0; padding: 0 15px; }
    .main-content { margin-left: 0; padding: 20px 15px; }

    /* Mobile Overlay */
    .mobile-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5); z-index: 1040;
        display: none; opacity: 0; transition: opacity 0.3s;
    }
    .mobile-overlay.show { display: block; opacity: 1; }

    /* 2. HORIZONTAL STEPPER TRANSFORMATION */
    .border-end-lg { border-right: none !important; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }
    
    .stepper-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between; /* Spread items out */
        overflow-x: auto; /* Scroll if too small */
        padding-bottom: 10px;
    }

    .step-item {
        flex-direction: column; /* Icon top, text bottom */
        align-items: center;
        padding-bottom: 0;
        min-width: 60px; /* Prevent squishing */
        flex: 1;
    }

    .step-circle { margin-right: 0; margin-bottom: 5px; }
    .step-label { font-size: 0.8rem; text-align: center; line-height: 1.2; }

    /* Change Vertical Line to Horizontal Line */
    .step-item::before {
        left: 50%; top: 16px; /* Center vertically relative to circle */
        width: 100%; height: 2px;
        bottom: auto; right: -50%; /* extend to right */
    }
    /* Fix the line positioning */
    .step-item::before {
        content: ''; position: absolute;
        top: 16px; left: 50%; 
        width: 100%; height: 2px;
        background: #e9ecef; z-index: 1;
    }
    .step-item:last-child::before { display: none; }
}

@media (max-width: 576px) {
    .step-label { font-size: 0.7rem; display: none; } /* Optional: Hide text on very small screens */
    .step-item.active .step-label { display: block; } /* Only show active label */
}
/* --- FOOTER STYLES --- */
.footer {
    padding: 10px 1.5rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
    
    /* Position Logic */
    margin-left: var(--nav-width-mini); /* Matches sidebar default */
    transition: margin-left 0.3s ease;
    
    /* Ensure it sticks to bottom if content is short */
    margin-top: auto; 
}

/* When Sidebar is Open */
body.sidebar-open .footer {
    margin-left: var(--nav-width-open);
}

/* Mobile View adjustments */
@media (max-width: 991px) {
    .footer {
        margin-left: 0;
    }
}
.layout-fixed .wrapper .sidebar {
        height: 100vh !important;
}



/* build/css/style.css */
/* Login styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  background: #FFFFFF;
  margin-top: 10px;
  /* padding: 5px 40px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}


.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  background: url("../images/before-login/Frame.png") no-repeat center/contain;
}

.title-section h1 {
  color: #f39c12;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin: 2px 0 0 0;
}

.main-content {
  display: flex;
  min-height: calc(100vh - 140px);
  background: #FFFFFF;
}

.illustration-section {
  flex: 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 60px; */
  position: relative;

}

.illustration-img {
  max-width: 92%;
  height: auto;
}

.login-section {
  margin: 0px 0px 50px 0px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 15px; */
  background: #FFFFFF;

}

.login-card {
  margin: 0px 152px 55px 0px;
  background: #FFFFFF;
  border-radius: 15px;
  padding: 10px 20px 10px 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0px 5px 9.4px 0px #00000040;

}



.login-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.form-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  outline: none;
}

.captcha-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.captcha-display {
  background: #E0E0E0;
  border-width: 0px 0px 0px 0px;
  border-style: solid;
  border-color: #b2b2b2;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
  font-size: 16px;
}

.captcha-refresh {
  background: #6c757d;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.captcha-refresh:hover {
  background: #5a6268;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
}

.forgot-link {
  color: #4a90e2;
  text-decoration: none;
  font-size: 13px;
}

.forgot-link:hover {
  color: #357abd;
}

.btn-signin {
  background: #2e5799;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-signin:hover {
  background: #357abd;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.register-link a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}

/* Illustration Styles */
.medical-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
}

.clipboard {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 190px;
  background: #FFFFFF;
  border: 3px solid #4a90e2;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.clipboard::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: #333;
  border-radius: 3px;
}

.medical-cross {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
}

.checkmark-list {
  position: absolute;
  top: 70px;
  left: 15px;
  right: 15px;
}

.checkmark-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.check-icon {
  width: 12px;
  height: 12px;
  background: #27ae60;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 8px;
}

.check-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  border-radius: 1px;
}

.calculator {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 70px;
  height: 90px;
  background: #4a90e2;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.calc-screen {
  background: #2c3e50;
  height: 20px;
  margin: 8px;
  border-radius: 3px;
}

.calc-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 5px 8px;
}

.calc-btn {
  background: #357abd;
  height: 12px;
  border-radius: 2px;
}

.security-lock {
  position: absolute;
  bottom: 50px;
  right: 80px;
  width: 55px;
  height: 65px;
  background: #87ceeb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.floating-rupee {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #f39c12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  animation: float 3s ease-in-out infinite;
}

.floating-rupee:nth-child(1) {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.floating-rupee:nth-child(2) {
  top: 80px;
  right: 30px;
  animation-delay: 1s;
}

.floating-rupee:nth-child(3) {
  bottom: 120px;
  left: 30px;
  animation-delay: 2s;
}

.paper-plane {
  position: absolute;
  top: 30px;
  right: 50px;
  width: 0;
  height: 0;
  border-left: 15px solid #ffa500;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  animation: float 4s ease-in-out infinite;
  z-index: 1;
}

.dotted-path {
  position: absolute;
  stroke: #4a90e2;
  stroke-width: 2;
  stroke-dasharray: 5, 5;
  fill: none;
  opacity: 0.6;
  animation: dash 20s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.footer {
  background: #f8f9fa;
  /* light gray background */
  text-align: center;
  /* center text */
  /* padding: 5px;               */
  color: #666;
  /* text color */
  font-size: 14px;
  /* text size */
  border-top: 1px solid #e0e0e0;
  /* subtle top border */
  margin: 0;
  /* remove outer margin */
  width: 100%;
  /* span full width */
  position: fixed;
  bottom: 0;
  /* align to bottom */
  left: 0;
  /* align left */
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .illustration-section {
    min-height: 300px;
    padding: 30px;
  }

  .login-section {
    padding: 20px;
  }

  .login-card {
    padding: 30px 25px;
  }

  .header {
    padding: 15px 20px;
  }

  .logo-section {
    gap: 10px;
  }

  .title-section h1 {
    font-size: 22px;
  }
}




/* Registration */
.registration-container {
  max-width: 1500px;
  /* increased from 600px */
  margin: 25px 0px 50px 10px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}



.registration-header {
  background: #FFFFFF;
  padding: 10px 10px 0px;
  text-align: center;
  /* border-bottom: 1px solid #e9ecef; */
}

.registration-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  padding: 10px 30px;
  background: #FFFFFF;
  /* border-bottom: 1px solid #e9ecef; */
}

.step-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 14px;
}

.step-item.active {
  color: #4a90e2;
}

.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.step-item.active .step-number {
  background: #4a90e2;
  color: #FFFFFF;
}

.step-divider {
  width: 154px;
  height: 1px;
  background: #dee2e6;
  margin: 12px 20px;
  position: relative;
  top: -1px;
}

.form-content {
  padding: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  /* margin-bottom: 10px; */
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}

/* .form-label {
            color: #333;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 6px;
            display: block;
        } */

/* .form-control {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.2s ease;
            background: #FFFFFF;
        } */

/* .form-control:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
            outline: none;
        } */
/* 
        .form-select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 14px;
            background: #FFFFFF;
            cursor: pointer;
        }

        .form-select:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
            outline: none;
        } */

.verify-section {
  display: flex;
  gap: 10px;
  align-items: end;
}

.verify-btn {
  background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;

}

.verify-btn:hover {
  background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
}

.info-icon {
  color: #6c757d;
  margin-left: 5px;
  cursor: help;
}

.date-input {
  position: relative;
}

.calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.gender-options {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gender-option input[type="radio"] {
  margin: 0;
}

.gender-option label {
  font-size: 14px;
  color: #333;
  margin: 0;
  cursor: pointer;
}

.sign-in-link {
  margin-bottom: 25px;
  font-size: 14px;
  color: #6c757d;
}

.sign-in-link a {
  color: #4a90e2;
  text-decoration: none;
}

.sign-in-link a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.btn-reset {
  background: #23A5B9;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-reset:hover {
  background: #138496;
}

.btn-next {
  background: #2E5799;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-next:hover {
  background: #357abd;
}

.required {
  color: #dc3545;
}


.step-item.active .step-number {
  background: #007bff;
  color: #fff;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.btn-prev {
  background: #23A5B9;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-prev:hover {
  background: #138496;
}


@media (max-width: 768px) {
  .registration-container {
    margin: 0 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .steps-container {
    padding: 15px 20px;
  }

  .step-divider {
    width: 40px;
    margin: 0 15px;
  }

  .form-content {
    padding: 20px;
  }

  .gender-options {
    gap: 15px;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media screen and (min-width: 1900px) and (max-width: 2000px) {
    .registration-container {
        max-width: 1500px;        /* adjust width for large screens */
        margin: 50px auto;        /* center horizontally, give top/bottom margin */
        background: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px;            /* optional padding */
    }
}



.ml-3, .mx-3 {
    margin-left: 1rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.text-orange {
    color: #fd7e14 !important;
}
.font-weight-bold {
    font-weight: 700 !important;
}
