/*
 * Feuille de style commune - header/footer applicatif partagé
 * (public/partials/header.php et public/partials/footer.php)
 * Basée sur le style de dashboard.php.
 */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

a { color: inherit; }

.container { max-width: 1000px; margin: 0 auto; padding: 20px; }

/* Header applicatif */
.header {
    background: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.logo { color: #1DA1F2; font-size: 24px; font-weight: bold; text-decoration: none; }
.user-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.credits { background: #1DA1F2; color: white; padding: 8px 16px; border-radius: 20px; font-weight: bold; }
.nav-link, .logout { color: #666; text-decoration: none; }
.nav-link:hover, .logout:hover { color: #1DA1F2; }
.btn-small {
    background: #1DA1F2;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
.btn-small:hover { background: #1a91da; }
.lang-selector select { padding: 6px 10px; border-radius: 6px; border: 1px solid #ddd; cursor: pointer; background: white; }

/* Boutons génériques */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #1DA1F2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-right: 10px;
    font-weight: bold;
}
.btn:hover { background: #1a91da; }
.btn-secondary { background: #17BF63; }
.btn-secondary:hover { background: #149652; }

/* Footer applicatif */
.site-footer {
    background: white;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 60px;
    text-align: center;
    color: #666;
}
.site-footer a { color: #1DA1F2; text-decoration: none; margin: 0 12px; }
.site-footer a:hover { text-decoration: underline; }
