/* --- Harmonisierte Gold-Styles für das Dubai Kickstarter System --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    /* Premium Gold Farbpalette aus dem Logo */
    --dk-gold-main: #D4AF37;
    --dk-gold-dark: #AA771C;
    --dk-gold-mid: #BF953F;
    
    /* Der harmonisierte 5-Farben-Premium-Verlauf (Exakt nach Vorgabe) */
    --dk-gold-grad: linear-gradient(45deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    
    /* System Hintergrund- & Textfarben */
    --dk-bg-dark: #050505;
    --dk-card-bg: #111111;
    --dk-text-light: #ffffff;
    --dk-text-dark: #333333; /* Erzwungen für helle Hintergründe */
}

/* Globaler Schrifttyp-Override auf Poppins */
* {
    font-family: 'Poppins', 'Segoe UI', sans-serif !important;
}

body {
    background-color: var(--dk-bg-dark);
    color: var(--dk-text-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- ICON ANZEIGE FIX (Font Awesome Enforcer) --- */
i, .fa, .fas, .far, .fab, .fa-solid, .fa-brands {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Poppins", sans-serif !important;
}

/* --- TITEL & GOLD TEXT (Gradient-Text) --- */
h1, h2, h3, h4, h5, h6, .gold-text {
    background: var(--dk-gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* --- WEISSER HINTERGRUND ENFORCER (#333333) --- */
/* Erzwingt dunklen Text in Modals, GTranslate oder weißen Sektionen */
.bg-white, 
.bg-light, 
.modal-content, 
.white-section,
#gt_float_wrapper .gt_options,
.gtranslate_wrapper {
    background-color: #ffffff !important;
    color: var(--dk-text-dark) !important;
}

.bg-white *, 
.modal-content *, 
#gt_float_wrapper .gt_options a,
.gtranslate_wrapper a {
    color: var(--dk-text-dark) !important;
}

/* --- SIDEBAR NAVIGATION --- */
.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    background: #111;
    border-right: 1px solid var(--dk-gold-dark);
}

.nav-item {
    color: #ffffff !important;
    text-decoration: none;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 5px;
    margin: 5px 10px;
}

.nav-item i {
    color: #ffffff !important;
    margin-right: 12px;
    font-size: 1.1rem;
}

.nav-item:hover, 
.nav-item.active {
    background: var(--dk-gold-grad) !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(170, 119, 28, 0.4);
    font-weight: 800;
}

.nav-item:hover i, 
.nav-item.active i {
    color: #000000 !important;
}

/* --- MAIN CONTENT LAYOUT --- */
.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 40px;
    box-sizing: border-box;
    min-height: 100vh;
}

/* --- CARDS & BOXES (Gradient Borders) --- */
.card, .stat-card, .login-card, .action-box, .content-card {
    background: var(--dk-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: relative;
    border: 2px solid transparent !important;
    border-image: var(--dk-gold-grad) 1 !important;
}

/* --- FORMULAR ELEMENTE --- */
input, select, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--dk-gold-mid);
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.2);
}

/* --- GLOBALE BUTTON OPTIMIERUNG (Premium Gold Gradient) --- */
button, 
.btn, 
.gold-gradient, 
.btn-dk, 
.btn-primary, 
.btn-save, 
.btn-reply {
    background: var(--dk-gold-grad) !important;
    border: none !important;
    color: #000000 !important; /* Schwarz auf Gold für Lesbarkeit */
    font-weight: 800 !important;
    padding: 14px 30px;
    border-radius: 6px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

button:hover, .btn:hover, .gold-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(191, 149, 63, 0.5) !important;
    opacity: 0.95;
}

button i, .btn i {
    color: #000000 !important;
    margin-right: 10px;
}

/* --- BADGES & STATUS --- */
.status-badge {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--dk-gold-main);
    color: var(--dk-gold-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* --- GTRANSLATE FLAGGE & TEXT FIX --- */
.gtranslate_wrapper {
    margin-bottom: 10px;
}

.gtranslate_wrapper a {
    color: var(--dk-text-dark) !important;
    font-weight: 700 !important;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); transition: 0.3s; }
    .main-content { margin-left: 0; width: 100%; padding: 20px; }
    .sidebar.active { transform: translateX(0); }
}