/* --------------------------------------------------
   THEME VARIABLES
   -------------------------------------------------- */
:root {
    --fb-primary: #16a34a;
    /* main green */
    --fb-primary-dark: #138a3d;
    /* hover/active green */
    --fb-text-muted: #6b7280;
    /* muted gray */
    --fb-foreground: #111827;
    /* dark text */
    --fb-bg-muted: rgba(248, 250, 252, 0.3);
    /* subtle muted background */
    --fb-overlay-dark: rgba(0, 0, 0, 0.3);
    /* hero overlay */
    --fb-white-overlay: rgba(255, 255, 255, 0.3);
    --fb-white: #ffffff;
}

/* --------------------------------------------------
   GLOBAL
   -------------------------------------------------- */
body {
    background-color: #FBFCFB !important;
}

h1 {
    font-size: 50px;
}

h4 {
    font-size: 26px;
    line-height: 1.3;
}

/* --------------------------------------------------
   HERO SECTIONS
   -------------------------------------------------- */
.hero-full {
    min-height: calc(100vh - 76px);
}

.hero-medium {
    min-height: 600px;
}

.hero-small {
    min-height: 400px;
}

.bg-image {
    background-position: center center;
    background-size: cover;
}

.hero-section {
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--fb-overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 767px;
    padding: 0 17px;
}

/* --------------------------------------------------
   BUTTONS
   -------------------------------------------------- */
.btn-primary {
    background-color: var(--fb-primary) !important;
    border-color: var(--fb-primary) !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: var(--fb-primary-dark) !important;
    border-color: var(--fb-primary-dark) !important;
}

.btn-lg {
    padding: 15px 10px;
    min-width: 220px;
    font-size: 1.25rem;
    border-radius: 0.4rem;
}

.btn-lg span {
    display: inline-block;
    margin-right: 8px;
}

/* --------------------------------------------------
   CARDS / SELECTION BOXES
   -------------------------------------------------- */
.card {
    border-radius: 10px;
}

.role-option {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    width: 100% !important;
}

.role-option:hover {
    background-color: #f8f9fa;
}

.role-option.active {
    border-color: var(--fb-primary);
    background-color: rgba(22, 163, 74, 0.12);
}

.role-option input[type="radio"] {
    display: none;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* --------------------------------------------------
   TEXT UTILS
   -------------------------------------------------- */
.text-primary {
    color: var(--fb-primary) !important;
}

.bg-primary {
    background-color: var(--fb-primary) !important;
}

.bg-custom {
    background-color: rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------
   TAGS (HOME BADGE)
   -------------------------------------------------- */
.is_home_tag svg {
    width: 18px !important;
    height: 18px !important;
}

.is_home_tag {
    background-color: var(--fb-white-overlay) !important;
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */
.fb-footer {
    background: var(--fb-bg-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fb-footer .fb-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.fb-footer .fb-sub {
    color: var(--fb-text-muted);
    font-size: .9rem;
}

.fb-footer a {
    color: var(--fb-text-muted);
    text-decoration: none;
    transition: color .15s ease;
}

.fb-footer a:hover {
    color: var(--fb-foreground);
}

.fb-heart {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: var(--fb-primary);
    color: var(--fb-primary);
}

/* .fb-top-row {
    gap: 1.5rem;
} */

.fb-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: var(--fb-text-muted);
    font-size: .9rem;
}

.section-bg-secondary {
    background-color: #F4FBF6 !important;
}

.border-primary {
    border-color: var(--fb-primary) !important;
}

.bg-section-light {
    background-color: #ECF9F1 !important;
}

.card-custom-icons {
    width: 3rem;
    height: 3rem;
    display: flex;
    vertical-align: middle;
    border-radius: 50%;
    fill: var(--fb-primary);
    color: var(--fb-primary);
    align-items: center;
    justify-content: center;
    background-color: rgba(22, 162, 73, 0.12);
}

.btn-outline-primary {
    border-color: var(--fb-primary) !important;
    color: var(--fb-primary) !important;
}

.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
    background-color: var(--fb-primary) !important;
    color: var(--fb-white) !important;
}

.over-the-green {
    background-color: #ECF9F1 !important;
    border-color: #ECF9F1 !important;
    color: var(--fb-primary) !important;
    transition: all 0.2s ease-in-out;
}

.over-the-green:active,
.over-the-green:focus,
.over-the-green:hover {
    background-color: var(--fb-primary) !important;
    color: var(--fb-white) !important;
}


.over-the-green-outline {
    background-color: transparent !important;
    border-color: var(--fb-white) !important;
    color: var(--fb-white) !important;
    transition: all 0.2s ease-in-out;
}

.over-the-green-outline:active,
.over-the-green-outline:focus,
.over-the-green-outline:hover {
    background-color: #ECF9F1 !important;
    border-color: #ECF9F1 !important;
    color: var(--fb-primary) !important;
    transition: all 0.2s ease-in-out;
}

.over-the-green:active,
.over-the-green:focus,
.over-the-green:hover {
    background-color: var(--fb-primary) !important;
    color: var(--fb-white) !important;
}

.shadow-gray {
    background-color: #FCFCFC !important;
}

/* SWEETALERT COE FOR DLETE==============*/


.swal2-popup {
    border-radius: 1rem !important;
    padding: 2rem !important;
}

.swal2-title {
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.swal2-html-container {
    color: #6b7280 !important;
    font-size: 1rem !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-actions {
    gap: 0.75rem !important;
}

.swal2-confirm.btn-brand-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    transition: all 0.2s ease !important;
}

.swal2-confirm.btn-brand-danger:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
}

.swal2-cancel.btn-brand-secondary {
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
    color: #4b5563 !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.swal2-cancel.btn-brand-secondary:hover {
    background: #e5e7eb !important;
    border-color: #9ca3af !important;
}

/* --------------------------------------------------
   NOTIFICATION STYLES
   -------------------------------------------------- */
.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 18px;
    color: white;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #f9fafb !important;
    text-decoration: none;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-time i {
    font-size: 10px;
}

#notificationCount {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.notification-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.notification-dropdown-footer {
    padding: 8px 16px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    text-align: center;
}

.notification-dropdown-footer a {
    color: var(--fb-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.notification-dropdown-footer a:hover {
    color: var(--fb-primary-dark);
}

#noNotifications {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
}

#noNotifications i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* Bell shake animation */
.fa-shake {
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* --------------------------------------------------
   STAT CARDS MOBILE SPACING
   -------------------------------------------------- */
@media (max-width: 767px) {
    .stat-cards-mobile > .col-12 {
        margin-bottom: 30px !important;
    }
    .stat-cards-mobile > .col-12:last-child {
        margin-bottom: 0 !important;
    }
}

/* --------------------------------------------------
   REMOVE HAMBURGER MENU OUTLINE
   -------------------------------------------------- */
.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}