/* css/style.css - DARK THEME COMPLET GO CONTROLE */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
    min-height: 100vh;
}

/* Header dark theme */
.header {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav a:hover {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #0c0c0c;
    border-color: #00d4ff;
    transform: translateY(-2px);
}

/* Main container */
.main-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Cartes dark theme */
.card {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00d4ff;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

/* Boutons dark theme */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #0c0c0c;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #666, #888);
}

.btn-success {
    background: linear-gradient(135deg, #00ff88, #00cc66);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4444, #cc3333);
}

/* Formulaires dark theme */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e0e0e0;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(50, 50, 50, 0.9);
    color: #e0e0e0;
}

.form-control:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(60, 60, 60, 0.9);
}

.form-control::placeholder {
    color: #888;
}

/* Grid system */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* NOUVEAU : Styles pour l'audit unifié - DARK THEME */
.audit-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.target-form {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #333;
}

.target-form:hover {
    border-color: #00d4ff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tool-card {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-left: 5px solid #00d4ff;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.tool-card h3 {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tool-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.results-section {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-top: 2rem;
    border: 1px solid #333;
}

.results-pre {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    color: #00ff88;
}

.scan-info {
    background: linear-gradient(135deg, #1a3a4a, #2a4a5a);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #00d4ff;
    border: 1px solid #334;
}

/* Dashboard spécifique - DARK THEME */
.welcome-section {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #0c0c0c;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer dark theme */
.footer {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    color: #b0b0b0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        text-align: center;
    }
    
    .main-container {
        padding: 0 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0099ff, #00d4ff);
}