/* Importation d'une police élégante */ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap'); body { margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at center, #1a2a23 0%, #0a0f0d 100%); font-family: 'Montserrat', sans-serif; color: #e0e0e0; overflow: hidden; } /* Background décoratif (Optionnel : petits motifs de cartes) */ body::before { content: "♠ ♥ ♣ ♦"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 20rem; opacity: 0.03; z-index: 0; pointer-events: none; } /* Conteneur principal */ .login-container { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(15px); border: 1px solid rgba(255, 215, 0, 0.2); padding: 40px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); width: 100%; max-width: 400px; text-align: center; } h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #f1c40f; /* Or */ margin-bottom: 30px; text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); } /* Formulaire */ #admin-login-form { display: flex; flex-direction: column; gap: 20px; } label { font-size: 0.9rem; color: #bdc3c7; margin-bottom: -10px; font-weight: bold; } /* Input password style premium */ input[type="password"] { background: rgba(0, 0, 0, 0.4); border: 2px solid #2c3e50; border-radius: 10px; padding: 15px; color: #fff; font-size: 1.1rem; text-align: center; transition: all 0.3s ease; outline: none; } input[type="password"]:focus { border-color: #f1c40f; box-shadow: 0 0 15px rgba(241, 196, 15, 0.2); background: rgba(0, 0, 0, 0.6); } /* Bouton Login */ button { background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%); color: #1a1a1a; border: none; padding: 15px; border-radius: 10px; font-weight: bold; font-size: 1.1rem; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3); } button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4); filter: brightness(1.1); } button:active { transform: translateY(0); } /* Animation d'entrée */ .login-container { animation: fadeInContainer 0.8s ease-out; } @keyframes fadeInContainer { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .btn-back-home { display: inline-block; margin-top: 15px; color: #4da6ff; opacity: 0.6; text-decoration: none; font-size: 0.8rem; transition: opacity 0.2s; } .btn-back-home:hover { opacity: 1; text-decoration: underline; }