/* =======================================
   🎨 1. Couleurs et variables globales
========================================== */
:root {
    --green-dark: #004d00;
    --green-light: #00a000;
    --white: #ffffff;
    --text: #f0f0f0;
    --footer-bg: #003d00;
    --footer-border: #006600;
}

/* =======================================
   🔤 2. Reset & typographie de base
========================================== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--green-dark);
    color: var(--text);
}

/* =======================================
   🧱 3. Structure principale
========================================== */

.logo-container {
    text-align: center;
    margin-top: 30px;
}

.logo-container img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}


.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    background: rgba(55, 61, 60, 1);
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 420px;
    width: 90%;
    margin: auto;
}

/* =======================================
   🖱️ 4. Boutons et liens
========================================== */
a.button {
    display: inline-block;
    background: var(--green-light);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s;
}

a.button:hover {
    background: #009000;
}

link {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: #b3ffb3;
    text-decoration: underline;
}
a.don-button {
    display: inline-block;
    margin-top: 20px;
    background: #ffaa00;
    color: black;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s;
}

a.don-button:hover {
    background: #ffcc33;
    color: #222;
}

a {
    color:#fff;
}

.footer-soutien {
    margin-top: auto;
    padding: 25px 15px;
    background-color: var(--footer-bg);
    color: #b0ffb0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid var(--footer-border);
}

.footer-content p {
    margin: 8px 0;
}

.soutien-buttons {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.btn-support {
    background-color: var(--green-light);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-support:hover {
    background-color: #008500;
}

.legal-warning {
    background: #223322;
    border-left: 4px solid #00ff88;
    padding: 15px;
    margin-top: 40px;
    border-radius: 8px;
    color: #ccffcc;
    font-size: 0.95em;
}
.legal-warning h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #aaffaa;
}

@media (min-width: 500px) {
    .soutien-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* =======================================
   📱 5. Responsive mobile
========================================== */
@media (max-width: 500px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.95em;
    }

    a.button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

/* =======================================
   🔚 6. Footer
========================================== */
footer {
    margin-top: auto;
    padding: 15px 10px;
    background-color: var(--footer-bg);
    color: #b0ffb0;
    text-align: center;
    font-size: 0.85em;
    border-top: 1px solid var(--footer-border);
    
    /* Centralized styles from multiple pages */

/* From login.php */
body {
  background: #004d00;
  color: white;
  font-family: Arial;
  text-align: center;
  padding: 30px;
}

form {
  background: #2c2c2c;
  display: inline-block;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

input {
  display: block;
  width: 300px;
  margin: 10px auto;
  padding: 10px;
  font-size: 16px;
}

.message {
  margin-top: 20px;
  font-weight: bold;
}

.error {
  color: red;
}

.logo-container img {
  width: 120px;
  margin-bottom: 15px;
}

/* From register.php */
.success {
  color: #00cc66;
}

/* From verify.php */
.message-box {
  background: #2c2c2c;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
}

a.button {
  background: #00cc66;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
}

.button {
  display: inline-block;
  background-color: #00a000;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px auto;
}
@media (max-width: 600px) {
  #takeprofit-guide {
    padding: 15px;
  }
  .button {
    padding: 8px 12px;
    font-size: 0.9em;
  }
}

