.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05) !important;
}

.navbar-brand img {
    height: 40px !important;
    transition: transform 0.2s;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}
.nav-link:hover {
    color: #059669 !important;
}
.nav-link.active {
    color: #059669 !important;
}

/* ==============================
   CLEAN SEARCH BAR
   ============================== */
.search-trigger {
    width: 100%;
    max-width: 480px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.search-trigger:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}
.search-trigger-icon {
    color: #94a3b8;
    font-size: 0.875rem;
}
.search-trigger-text {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}
.search-trigger-shortcut {
    margin-left: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #059669;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ==============================
   USER DROPDOWN
   ============================== */
.user-nav-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.25rem 0.25rem 0.25rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.2s ease;
}
.user-nav-pill:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.user-avatar-small {
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-emerald {
    background-color: #059669;
    color: #ffffff !important;
    border-radius: 10px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    border: none;
    transition: all 0.2s ease;
}
.btn-emerald:hover {
    background-color: #047857;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
}

.dropdown-menu {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1) !important;
    padding: 0.5rem !important;
    border-radius: 12px !important;
}
.dropdown-item {
    padding: 0.625rem 1rem !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
}
.dropdown-item:hover {
    background-color: #f8fafc !important;
    color: #059669 !important;
}
.dropdown-item i {
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* ===== SEARCH MODAL ===== */
.search-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-modal-header {
    background: #ffffff;
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}
.search-modal-header::before { display: none; }

.search-modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 2.5rem; height: 2.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.search-modal-close:hover { background: #f1f5f9; color: #0f172a; }

.search-modal-icon-wrap {
    width: 4rem; height: 4rem;
    background: #ecfdf5;
    border-radius: 1.25rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #059669;
    margin-bottom: 1rem;
}

.search-modal-title {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}
.search-modal-subtitle {
    color: #64748b;
    font-size: 0.9375rem;
}

.search-modal-body {
    padding: 2rem;
    background: #ffffff;
}

/* Keyword input */
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s;
}
.search-input-wrap:focus-within {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
    background: #ffffff;
}
.search-input-icon {
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.search-input-wrap:focus-within .search-input-icon { color: #059669; }
.search-keyword-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
}
.search-keyword-input::placeholder { color: #94a3b8; }

/* Section cards */
.search-section-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
}
.search-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.search-section-icon {
    width: 2.25rem; height: 2.25rem;
    border-radius: 0.625rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.search-section-icon-green { background: #ecfdf5; color: #059669; }
.search-section-icon-blue  { background: #eff6ff; color: #2563eb; }
.search-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Selects */
.modern-select-wrapper .form-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.modern-select {
    border: 1px solid #e2e8f0;
    border-radius: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    transition: all 0.2s;
}
.modern-select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
    outline: none;
}

/* Action buttons */
.search-btn-cancel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s;
}
.search-btn-cancel:hover { background: #f8fafc; color: #0f172a; }
.search-btn-submit {
    background: #059669;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
    transition: all 0.2s;
}
.search-btn-submit:hover {
    background: #047857;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
    transform: translateY(-1px);
}
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5,150,105,0.35);
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.search-btn-submit:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    box-shadow: 0 6px 20px rgba(5,150,105,0.45);
    transform: translateY(-1px);
}
