/* ==========================================================================
   CYBEXIA STORAGE - CUSTOM THEME "CYBER-PREMIUM" (VERSION FINALE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Roboto+Mono:wght@500;700&display=swap');

:root {
    --primary: #00E5FF;
    --primary-hover: #00B8D4;
    --text: #E0E0E0;
    --background: #0A0A0B;
    --surface: #141416;
    --border: rgba(255, 255, 255, 0.1);
}

body, #app {
    background-color: var(--background) !important;
    color: var(--text) !important;
    font-family: 'Inter', sans-serif !important;
}

/* =========================================================
   PAGE DE CONNEXION (LOGIN)
   ========================================================= */
#login {
    background-color: var(--background) !important;
}

#login form {
    background-color: var(--surface) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    border-radius: 8px !important;
    padding: 40px !important;
}

/* =========================================================
   INJECTION DU LOGO EXACTEMENT AU-DESSUS DU TITRE
   ========================================================= */

/* 1. On cache l'éventuelle image brisée native */
#login img {
    display: none !important;
}

/* 2. On utilise le bloc du titre (CYBEXIA CLOUD) pour injecter le logo au-dessus */
#login h1 {
    font-family: 'Roboto Mono', monospace !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    position: relative !important;
}

/* Le pseudo-élément ::before agit comme un conteneur d'image juste au-dessus du texte */
#login h1::before {
    content: "";
    display: block !important;
    width: 100% !important;
    height: 120px !important; /* Ajuste cette valeur si ton bouclier est trop grand ou trop petit */
    background-image: url('/static/img/logo.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    margin-bottom: 20px !important;
}

/* =========================================================
   CHAMPS DE SAISIE & BOUTONS (Correction Dark Mode)
   ========================================================= */
input {
    background-color: #000000 !important; /* Force le fond noir au lieu du blanc/gris */
    border: 1px solid var(--border) !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    padding: 12px !important;
}

input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3) !important;
    outline: none !important;
}

.button, button, .btn {
    background-color: var(--primary) !important;
    color: #000000 !important;
    font-family: 'Roboto Mono', monospace !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    margin-top: 15px !important;
    transition: all 0.2s ease-in-out !important;
}

.button:hover, button:hover, .btn:hover {
    background-color: var(--primary-hover) !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4) !important;
}
