/* =================================================================
   🌙 RAMADAN THEME - Gold → Lila
   Ramadan Kareem! ✨
   ================================================================= */

/* ========================================
   NAVBAR - Gold → Lila Gradient
   ======================================== */
html body.sidebar-dark .main-wrapper .navbar,
html body .main-wrapper .navbar,
body.sidebar-dark .main-wrapper .navbar,
body .main-wrapper .navbar,
.main-wrapper .navbar,
.navbar-default,
.horizontal-menu,
nav.navbar,
.page-wrapper .navbar,
body .navbar,
.navbar {
    background: linear-gradient(90deg, #5C4A0F 0%, #8B008B 100%) !important;
    background-image: linear-gradient(90deg, #5C4A0F 0%, #8B008B 100%) !important;
    background-color: #5C4A0F !important;
    border-bottom: 3px solid #5C4A0F !important;
    box-shadow: 0 2px 10px rgba(139, 0, 139, 0.3) !important;
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* ========================================
   SIDEBAR - Gold → Lila Gradient (vertikal)
   ======================================== */
body.sidebar-dark .sidebar {
    background: linear-gradient(180deg, #FFD700 0%, #8B008B 100%) !important;
    border-right: 3px solid #FFD700 !important;
    box-shadow: 3px 0 15px rgba(139, 0, 139, 0.3) !important;
}

/* Sidebar Body & Header Transparent */
body.sidebar-dark .sidebar .sidebar-body,
.sidebar .sidebar-body,
.sidebar-body,
.sidebar .ps {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

body.sidebar-dark .sidebar .sidebar-header,
.sidebar .sidebar-header {
    border-bottom: 3px solid rgba(255, 215, 0, 0.5) !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* ========================================
   SIDEBAR MENU - Goldene Akzente
   ======================================== */
.sidebar .nav-item-category,
.sidebar .nav-category {
    color: #FFD700 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.sidebar .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   SIMPLE SCALE + GLOW HOVER EFFECT
   ======================================== */
.sidebar .nav-item .nav-link:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    color: #FFD700 !important;
    transform: scale(1.02);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.sidebar .nav-item .nav-link.active {
    background: linear-gradient(135deg, #FFD700 0%, #8B008B 100%) !important;
    color: #fff !important;
    border-left: 3px solid #FFD700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Sidebar Icons - Golden */
.sidebar .nav-item .nav-link i,
.sidebar .nav-item .nav-link svg,
.sidebar .nav-item .nav-link .link-icon {
    color: #FFD700 !important;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
}

/* Icon Pulse on Hover */
.sidebar .nav-item .nav-link:hover i,
.sidebar .nav-item .nav-link:hover svg,
.sidebar .nav-item .nav-link:hover .link-icon {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   BUTTONS - Ramadan Farben
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    border-color: #FFD700 !important;
    color: #000 !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4) !important;
}

.btn-success {
    background: linear-gradient(135deg, #8B008B 0%, #4B0082 100%) !important;
    border-color: #8B008B !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #4B0082 0%, #2E0854 100%) !important;
}

/* ========================================
   CARDS - Ramadan Look
   ======================================== */
.card {
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(139, 0, 139, 0.1);
}

.card-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(139, 0, 139, 0.15) 100%);
    border-bottom: 2px solid #FFD700;
}

/* ========================================
   BADGES
   ======================================== */
.badge-success {
    background: #8B008B !important;
}

.badge-warning {
    background: #FFD700 !important;
    color: #000 !important;
}

/* ========================================
   LINKS
   ======================================== */
a {
    color: #8B008B;
}

a:hover {
    color: #FFD700;
}

/* ========================================
   DROPDOWN MENUS
   ======================================== */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 4px 15px rgba(139, 0, 139, 0.15) !important;
}

.dropdown-menu .nav-link {
    color: #1a1a2e !important;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    color: #8B008B !important;
}

/* ========================================
   TABLES
   ======================================== */
.table thead th {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(139, 0, 139, 0.15) 100%);
    border-bottom: 2px solid #FFD700;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 215, 0, 0.05);
}

/* ========================================
   FORMS
   ======================================== */
.form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* ========================================
   LATERNEN-ANIMATION Container
   ======================================== */
#lanterns-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.lantern {
    position: absolute;
    width: 30px;
    height: 40px;
    top: -50px;
    animation: float linear infinite;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.lantern::before {
    content: '🏮';
    font-size: 30px;
    display: block;
    animation: swing 2s ease-in-out infinite;
}

@keyframes float {
    to {
        transform: translateY(100vh);
    }
}

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ========================================
   RAMADAN BANNER (Dashboard)
   ======================================== */
.ramadan-banner {
    background: linear-gradient(135deg, #FFD700 0%, #8B008B 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(139, 0, 139, 0.4);
    position: relative;
    overflow: hidden;
}

.ramadan-banner::before {
    content: '✨';
    position: absolute;
    font-size: 100px;
    top: -20px;
    left: -20px;
    opacity: 0.2;
    animation: sparkle 3s ease-in-out infinite;
}

.ramadan-banner::after {
    content: '✨';
    position: absolute;
    font-size: 100px;
    bottom: -20px;
    right: -20px;
    opacity: 0.2;
    animation: sparkle 3s ease-in-out infinite 1.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.ramadan-banner h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.ramadan-banner p {
    margin: 10px 0 0 0;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========================================
   🌙 Halbmond & Sterne im Sidebar
   ======================================== */
/* Halbmond - unten im Sidebar */
.sidebar::before {
    content: '🌙';
    position: absolute;
    bottom: 60px;
    left: 90px;
    font-size: 80px;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
    animation: moonGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

@keyframes moonGlow {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

/* Sterne - verteilt im Sidebar */
.sidebar .sidebar-body::before {
    content: '⭐';
    position: absolute;
    top: 100px;
    left: 40px;
    font-size: 25px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    animation: starTwinkle1 3s ease-in-out infinite;
}

@keyframes starTwinkle1 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.sidebar .sidebar-body::after {
    content: '✨';
    position: absolute;
    top: 200px;
    right: 30px;
    font-size: 30px;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
    animation: starTwinkle2 4s ease-in-out infinite 1s;
}

@keyframes starTwinkle2 {
    0%, 100% { opacity: 0.25; transform: rotate(0deg) scale(1); }
    50% { opacity: 0.5; transform: rotate(180deg) scale(1.15); }
}

/* Weitere Sterne über nav items */
.sidebar .nav:first-of-type::before {
    content: '⭐';
    position: absolute;
    top: 300px;
    left: 180px;
    font-size: 20px;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    animation: starTwinkle3 2.5s ease-in-out infinite 0.5s;
}

@keyframes starTwinkle3 {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}


