:root {
    --ife-primary: #26BAA5;
    --ife-secondary: #375F7A;
    --ife-white: #ffffff;
    --ife-black: #000000;
    --ife-gray-50: #f8f9fa;
    --ife-gray-100: #f1f3f5;
    --ife-gray-200: #e9ecef;
    --ife-gray-500: #6c757d;
    --ife-gray-800: #343a40;
}

body,
.ife-admin,
.login-page,
.register-page {
    background:
        linear-gradient(135deg, rgba(38, 186, 165, 0.12), rgba(55, 95, 122, 0.10)),
        var(--ife-gray-50) !important;
    color: var(--ife-gray-800);
}

.brand-link.ife-brand,
.main-sidebar.ife-sidebar {
    background: var(--ife-secondary) !important;
}

.brand-link.ife-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.brand-link .brand-image {
    background: var(--ife-white);
    border-radius: 8px;
    padding: 3px;
}

.ife-brand-text {
    color: var(--ife-white);
    font-weight: 800;
}

.ife-content-wrapper {
    background:
        linear-gradient(135deg, rgba(38, 186, 165, 0.08), rgba(55, 95, 122, 0.06)),
        var(--ife-gray-50);
}

.navbar-white {
    border-bottom: 1px solid var(--ife-gray-200);
    box-shadow: 0 10px 28px rgba(55, 95, 122, 0.10);
}

.card {
    border: 1px solid rgba(55, 95, 122, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(55, 95, 122, 0.10);
}

.card-header,
.bg-secondary,
.bg-info {
    background: var(--ife-secondary) !important;
    color: var(--ife-white) !important;
}

.btn-primary,
.ife-auth-btn {
    background: var(--ife-primary) !important;
    border-color: var(--ife-primary) !important;
    color: var(--ife-white) !important;
    border-radius: 8px !important;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(38, 186, 165, 0.22);
}

.btn-secondary {
    background: var(--ife-secondary) !important;
    border-color: var(--ife-secondary) !important;
    color: var(--ife-white) !important;
    border-radius: 8px !important;
    font-weight: 800;
}

.btn-primary:hover,
.ife-auth-btn:hover,
.btn-secondary:hover {
    filter: brightness(0.94);
    transform: translateY(-1px);
}

.login-box,
.register-box {
    width: min(440px, calc(100% - 32px));
}

.login-logo a,
.register-logo a {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--ife-secondary);
    font-weight: 900;
}

.ife-auth-logo {
    max-width: 190px;
    height: auto;
}

.ife-auth-card {
    border: 1px solid rgba(38, 186, 165, 0.28) !important;
    border-top: 5px solid var(--ife-primary) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.ife-auth-header {
    background: var(--ife-white) !important;
    color: var(--ife-secondary) !important;
    border-bottom: 1px solid var(--ife-gray-200) !important;
}

.ife-auth-header .card-title {
    font-weight: 900;
}

.ife-auth-body .form-control {
    border-radius: 8px 0 0 8px;
    border-color: var(--ife-gray-200);
}

.ife-auth-body .input-group-text {
    border-color: var(--ife-gray-200);
    color: var(--ife-secondary);
    background: var(--ife-gray-50);
}

.ife-auth-footer {
    background: var(--ife-gray-50) !important;
    border-top: 1px solid var(--ife-gray-200) !important;
}

.ife-auth-footer a,
.content a {
    color: var(--ife-secondary);
    font-weight: 700;
}

.info-box {
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(55, 95, 122, 0.10);
}

.alert-info {
    background: rgba(38, 186, 165, 0.12);
    border-color: rgba(38, 186, 165, 0.32);
    color: var(--ife-secondary);
}

.text-danger,
.text-info,
.text-secondary {
    color: var(--ife-secondary) !important;
}

.icheck-primary > input:first-child:checked + label::before,
.icheck-primary > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: var(--ife-primary) !important;
    border-color: var(--ife-primary) !important;
}

.search-results-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(38, 186, 165, 0.14), rgba(55, 95, 122, 0.10)), var(--ife-white);
    border: 1px solid rgba(55, 95, 122, 0.12);
    box-shadow: 0 16px 36px rgba(55, 95, 122, 0.10);
}

.search-results-hero h1 {
    color: var(--ife-secondary);
    font-weight: 900;
}

.search-results-hero p {
    color: var(--ife-gray-500);
    margin: 0;
}

.search-results-hero img {
    width: 100%;
    height: auto;
}

.card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 576px) {
    .search-results-hero {
        grid-template-columns: 1fr;
    }

    .search-results-hero img {
        width: 84px;
    }
}
