/* Promo Badge Fix - Ensure visibility */
.promo-badge {
    display: inline-block !important;
    background: #FFD700;
    color: #000;
    padding: 0.5rem 1.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 10;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Admin Sidebar Active Link Fix */
.sidebar .nav-link.active,
.sidebar .nav-link.active span,
.sidebar .nav-link.active i {
    color: #d4af37 !important;
}

.sidebar .nav-link.active {
    background-color: rgba(212, 175, 55, 0.1) !important;
    box-shadow: inset 4px 0 0 #d4af37 !important;
}

/* Notes App Integration Toggle */
.notes-app-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notes-app-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.notes-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.notes-app-btn i {
    font-size: 1.1rem;
}

.sync-status-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse-sync 2s infinite;
}

@keyframes pulse-sync {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}