
/* ===========================
   NAVBAR STYLES - FIXED FOR WHITE BACKGROUND
   =========================== */
.ftco_navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Main navigation links */
.navbar-light .navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #007bff !important;
}

/* Active page link */
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: #007bff !important;
    font-weight: 600;
}

/* User dropdown - ENHANCED */
.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown-link .icon-user {
    font-size: 18px;
    color: #007bff;
}

.user-dropdown-link .user-name {
    font-weight: 500;
}

/* Dropdown toggle */
.navbar-light .navbar-nav .dropdown-toggle {
    color: #333333 !important;
}

.navbar-light .navbar-nav .dropdown-toggle:hover {
    color: #007bff !important;
}

/* Mobile menu toggle button */
.navbar-light .navbar-toggler {
    border-color: rgba(51, 51, 51, 0.5);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 1)' stroke-linecap='round' stroke-miterlength='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu - ENHANCED */
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
}

.dropdown-menu .dropdown-item {
    color: #333333;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-menu .dropdown-item.text-danger:hover {
    color: #dc3545 !important;
    background-color: #fff5f5;
}

.dropdown-divider {
    margin: 8px 0;
}

/* CTA Buttons - Keep distinctive styling */
.nav-item.cta .nav-link {
    color: #ffffff !important;
    background-color: #007bff;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-item.cta .nav-link:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.nav-item.cta-colored .nav-link {
    background-color: #28a745;
}

.nav-item.cta-colored .nav-link:hover {
    background-color: #218838;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Navbar brand/logo */
.navbar-brand {
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

/* ===========================
   NOTIFICATION SYSTEM
   =========================== */
#notificationContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid #007bff;
}

.notification.success { border-left-color: #28a745; background: #d4edda; }
.notification.error { border-left-color: #dc3545; background: #f8d7da; }
.notification.warning { border-left-color: #ffc107; background: #fff3cd; }
.notification.info { border-left-color: #17a2b8; background: #d1ecf1; }

.notification-icon {
    font-size: 24px;
    margin-right: 12px;
    min-width: 24px;
}

.notification.success .notification-icon { color: #28a745; }
.notification.error .notification-icon { color: #dc3545; }
.notification.warning .notification-icon { color: #ffc107; }
.notification.info .notification-icon { color: #17a2b8; }

.notification-content {
    flex: 1;
    color: #333;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0;
    margin-left: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===========================
   AUTH MODAL STYLES
   =========================== */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.modal-content {
    border-radius: 10px;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* User Type Card Hover Effect */
.user-type-card {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.user-type-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.2);
    transform: translateY(-3px);
}

#selectEmployer .user-type-card:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40,167,69,0.2);
}

/* Loading state for buttons */
.btn.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
