:root {
    --theme-primary: #22c55e;
    --theme-primary-hover: rgb(19, 134, 73);
    --theme-bg-light: #f8f9fa;
    --theme-border: #eef2f6;
    --theme-text-dark: #2d3436;
    --theme-text-muted: #636e72;
    --card-radius: 16px;
    --input-radius: 10px;
}
.form-control-modern {
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}
.form-control-modern:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* 2. Smart Filter Pills */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.hover-green { transition: all 0.2s ease; }
.hover-green:hover {
    background-color: #f0fdf4 !important; /* light green */
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* 3. Program Card Styling */
.program-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
    border-color: var(--primary-color) !important;
}
.logo-container {
    width: 80px;
    height: 80px;
    min-width: 80px;
    overflow: hidden;
}
/* Custom Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.border-dashed { border-style: dashed !important; }
.bg-purple-subtle { background-color: #f3e8ff; color: #7e22ce; }

/* 4. LOGIN LOCK OVERLAY (Bottom Sheet) */
.login-sheet-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Hidden state allows clicks through */
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* Smooth slide */
    transform: translateY(110%); /* Start hidden below screen */
}

.login-sheet-wrapper.active {
    transform: translateY(0); /* Slide Up */
    pointer-events: all; /* Block clicks */
}

.login-sheet-content {
    width: 100%;
    max-width: 800px;
    /* Use your primary green variable here */
    background: linear-gradient(135deg, var(--primary-color) 0%, #14532d 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lock-icon-box {
    width: 70px; 
    height: 70px; 
    border: 4px solid rgba(255,255,255,0.15);
}
.tag-purple {
    background-color: #f3e8ff;
    color: #9333ea;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.tag-green {
    background-color: #dcfce7;
    color: #16a34a;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.tag-orange {
    background-color: #ffedd5;
    color: #ea580c;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.tag-blue {
    background-color: #dbeafe;
    color: #2563eb;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* 2. FILTER PILLS */
.filter-pill {
    background-color: white;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-pill:hover, .filter-pill.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f0fdf4;
}

/* 3. CARD UTILITIES */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.text-xs { font-size: 0.75rem; }
.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color) !important;
}

/* 4. FULL SCREEN SCROLL LOCK OVERLAY */
.lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1030;
    
    /* The Blur Effect */
    background: rgba(20, 83, 45, 0.4); /* Dark Green Tint */
    backdrop-filter: blur(12px); /* Strong Blur */
    -webkit-backdrop-filter: blur(12px);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Animation State */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lock-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lock-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, #14532d 100%);
    padding: 42px;
    border-radius: 2rem;
    text-align: center;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.lock-icon-wrapper {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.eligibility-filter-container h2 {
    color: #43c049 !important;
}
#eligibility_program .form-label {
    margin-bottom: 5px;
}
#eligibility_program .col-12 {
    margin-top: 12px;
}
#eligibility_program .form-select {
    font-size: 14px;
}
.app-tags .filter-tag-active {
    background-color: #22c55e;
    color: #ffffff;
}
.university-card-container {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    padding: 0 0 10px 0;
    margin-bottom: 24px;
}
.university-header {
    padding: 20px;
}
.courses-wrapper .col-md-6 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.card-custom {
    background: #fff;
    min-height: 500px;
    border-radius: 0.5rem;
    border: 1px solid rgb(61, 61, 61);
    position: relative;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 10px 0;
}
.checkbox-label {
    font-size: 14px;
    color: #111827;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.open-badge {
    background-color: #d1fae5;
    color: #047857;
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.15rem 0.5rem;
    user-select: none;
    white-space: nowrap;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}
.card-title {
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 0.2rem;
      color: #111827;
    }
    .card-subtitle {
      font-size: 13px;
      color: #4b5563;
      margin-bottom: 0.75rem;
    }
    .location {
      font-size: 12px;
      color: #6b7280;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }
    .location i {
      font-size: 13px;
    }
    .info-row {
      font-size: 10px;
      color: #6b7280;
      margin-bottom: 0.3rem;
      display: flex;
      justify-content: space-between;
      font-weight: 400;
    }
    .info-row strong {
      font-weight: 600;
      color: #111827;
      font-size: 11px;
    }
	.f11{font-size:11px;}
    .btn-view {
      border-color: #43c049;
      color: #43c049;
      font-weight: 600;
      font-size: 14px;
      transition: background-color 0.15s ease-in-out;
    }
    .btn-view:hover {
      background-color: #e9fee0;
      color: #479c01;
      border: 1px solid green;
    }
    .btn-apply {
      background-color: #0284c7;
      color: white;
      font-weight: 600;
      font-size: 14px;
      transition: background-color 0.15s ease-in-out;
    }
    .btn-apply:hover {
      background-color: #0369a1;
      color: white;
    }
    .checkbox-label {
      font-size: 14px;
      color: #111827;
      user-select: none;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    .checkbox-label input[type="checkbox"] {
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
    .badges-wrapper {
      margin-bottom: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }
    /* cards */
        .icon {
        width: 140px;
        }
        .form-control {
            
            font-size: 14px;
      background-color: #f7f7f7;
      color: #383838;
      border: none;
      border-radius: 0.375rem;
    }
    .form-control::placeholder {
      color: #313131;
    }
    .form-control:focus {
      box-shadow: none;
      background-color: #f8f8f8;
      color: #383838;
    }
    .btn-primary {
      background-color: #43c049;
      border: none;
      border-radius: 0.375rem;
    }
    .btn-light{
        background-color: #e1dfdf;
        white-space: nowrap;
    }
    .btn-primary:hover, :not(.btn-check)+.btn:active {
      background-color: #43c049;
    }
    .fetchnotification_header .btn-primary:hover, :not(.btn-check)+.btn:active {
      background-color: #e7e7e7;
      border: none;
    }
    .collapse-button{
      display: flex;
      justify-content: center;
    }
    .badge-custom {
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 0.375rem;
    padding: 0.15rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.badge-green {
      background-color: #d1fae5;
      color: #047857;
    }
    .badge-yellow {
      background-color: #fef3c7;
      color: #b45309;
    }
    .badge-sky {
      background-color: #bae6fd;
      color: #0369a1;
    }
    .badge-red {
        background-color: #fad1d1;
        color: #780404;
    }
    .badge-violet {
        background-color: #e9d5ff; 
        color: #7c3aed;            
    }
    .badge-blue {
        background-color: #dbeafe;
        color: #1e40af;
    }
    .badge-orange {
        background-color: #ffedd5;
        color: #9a3412;
    }
    .badge-pink {
        background-color: #fce7f3;
        color: #9d174d;
    }
    .badge-teal {
        background-color: #ccfbf1;
        color: #115e59;
    }
    .badge-indigo {
        background-color: #e0e7ff;
        color: #3730a3;
    }
    .badge-gray {
        background-color: #f3f4f6;
        color: #1f2937;
    }
    .badge-lime {
        background-color: #ecfccb;
        color: #3f6212;
    }
.filter-tag {
    padding: 0.5em 0.75em;
    font-weight: normal;
    border-radius: 50rem !important;
}
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto !important;
    }
}
span.intake_cls {
    font-weight: 600;
    color: #111827;
    font-size: 11px;
}
.filter-card {
    background: #fff;
    border-radius: var(--card-radius);
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Soft modern shadow */
    transition: all 0.3s ease;
}

/* --- 3. Typography & Header --- */
.filter-header {
    color: var(--theme-primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* --- 4. Modern Inputs --- */
.form-control-modern {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--input-radius);
    padding: 7px 10px; /* Taller touch targets */
    font-size: 14px;
    color: var(--theme-text-dark);
    transition: all 0.2s ease;
    appearance: none; /* Removes default browser arrow to style custom */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.form-control-modern:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px rgba(31, 192, 108, 0.15); /* Green glow */
    outline: none;
}

.form-control-modern::placeholder {
    color: #a0a0a0;
}

/* --- 5. The "See Results" Button --- */
.btn-theme-primary {
    background-color: var(--theme-primary);
    color: white;
    border: none;
    border-radius: var(--input-radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-theme-primary:hover {
    background-color: var(--theme-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 192, 108, 0.3);
    color: white;
}

/* --- 6. Mobile Specifics (The Offcanvas) --- */
@media (max-width: 991.98px) {
    /* Hide the desktop sidebar column visually but keep it for offcanvas */
    .desktop-filter-wrapper {
        display: none;
    }
    
    /* Sticky Mobile Trigger Button */
    .mobile-filter-trigger {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1050;
        background: var(--theme-text-dark);
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        cursor: pointer;
        animation: slideUp 0.5s ease;
    }

    /* Style the Offcanvas to look like a bottom sheet */
    .offcanvas-filter {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        height: 85vh !important; /* Take up 85% of screen height */
    }
}

@keyframes slideUp {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
.reset-filter-btn {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d; 
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: transparent;
}

.reset-filter-btn:hover {
    color: #dc3545; 
    background-color: rgba(220, 53, 69, 0.1); 
}

.reset-filter-btn:hover i {
    animation: spin 0.5s ease-in-out;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
.mobile-action-bar {
    z-index: 1040; 
    padding-bottom: env(safe-area-inset-bottom); 
}

.btn-action {
    background: #fff;
    border: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-action:active {
    background-color: #f1f3f5;
}

.bottom-spacer {
    padding-bottom: 80px; 
}
.lead {
    font-size: 16px;
}
.app-tags .filter-tag-active .btn-close {
    background-image: none;
    color: #ffffff;
    opacity: 1;
}
.fa-search{
    background-color: transparent !important;
    border: none !important;
}
.info-row > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
    max-width: 70%;
}
.inatkes_div {
    gap: 1px;
    display: flex;
    align-items: center;
}