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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    padding: 20px;
}

/* Conteneurs */
.container, .admin-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Typographie */
h1 {
    margin-bottom: 20px;
    color: #2c3e50;
}

h2, h3 {
    margin-bottom: 15px;
    color: #34495e;
}

p, ul, ol {
    margin-bottom: 15px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Formulaires */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #2980b9;
}

/* Messages */
.error, .success {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Admin navigation */
.admin-nav {
    margin: 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.admin-section {
    margin-bottom: 30px;
}

/* Progress bar */
.progress-bar {
    background: #eee;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    background: #3498db;
    height: 100%;
}

/* Séparateurs */
.separator {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.separator-bold {
    border: 0;
    border-top: 2px solid #ddd;
    margin: 20px 0;
}

/* Footer */
footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container, .admin-container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
}