/* ==========================================================
   BIRDIENET - BASE, VARIABLES ET RESET
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Style de base (par défaut pour les pages avec image de fond, ex: Login) */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0, 60, 0, 0.45), rgba(0, 0, 0, 0.35)), url("../images/backgrounds/fond02.jpeg") no-repeat center center fixed;
    background-size: cover;
}

/* Page d'accueil : fond uni (gris clair) */
body.page-home {
    background: #f0f2f5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
}

:root {
    --green: #2e7d32;
    --green-dark: #1b5e20;
    --green-light: #66bb6a;
    --blue: #1877f2;
    --gold: #c9a227;
    --page-bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #333333;
    --text-light: #777777;
    --border: #e4e6eb;
    --shadow: 0 3px 12px rgba(0,0,0,0.08);
    --radius: 15px;
    --transition: all .3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: var(--green);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--blue);
}

.btn-blue:hover {
    opacity: .9;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-large {
    width: 100px;
    height: 100px;
}

.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-light { color: var(--text-light); }