/* =========================================================
   TRAX – Script Information Header (Standard v1.0)
   =========================================================

   File: /TRAX/CSS/forgot_password.css
   Type: Page-specific CSS
   Scope: TRAX Forgot Password Page
   Status: Active
   Version: 1.0

   ---------------------------------------------------------
   1) Purpose
   ---------------------------------------------------------
   Seitenspezifisches Styling für /TRAX/forgot_password.php.

   Diese Datei definiert das Layout der Passwort-vergessen-Seite,
   inklusive Formular-Wrapper, Headerbereich, TRAX-Logo,
   E-Mail-Eingabefeld, Button, Footer-Link und Fehlerzuständen
   für ungültige Eingaben.

   ---------------------------------------------------------
   2) Main Functions
   ---------------------------------------------------------
   - Zentriert die Passwort-vergessen-Maske vertikal und horizontal
   - Definiert das dunkle TRAX-Auth-Layout
   - Formatiert den Headerbereich mit TRAX-Logo und Titel
   - Stylt das E-Mail-Eingabefeld
   - Stylt den Passwort-zurücksetzen-Button
   - Formatiert den Footer-Link zurück zum Login
   - Markiert ungültige Eingaben über .is-invalid

   ---------------------------------------------------------
   3) Related Files
   ---------------------------------------------------------
   - /TRAX/forgot_password.php
   - /TRAX/includes/conn.php
   - /TRAX/includes/mail_helpers.php
   - /TRAX/includes/notification.php
   - /TRAX/CSS/notifications.css
   - /TRAX/JS/notifications.js

   ---------------------------------------------------------
   4) Notes
   ---------------------------------------------------------
   - Inline-CSS wurde aus forgot_password.php entfernt.
   - Fehler und Hinweise werden zentral über showNoti()
     ausgegeben.
   - Notification-Design liegt separat in notifications.css.
   - Die Wrapper-Breite orientiert sich an DOMERA und
     Guild Guard.

   ---------------------------------------------------------
   5) Author / Version
   ---------------------------------------------------------

   Author: Manuel Blenk
   Project: TRAX

   Version: 1.0
   Created: 2026
   Last Update: 2026-04-24

========================================================= */

/* =========================================================
   1) Base Layout
========================================================= */

body {
    font-family: 'Arial', sans-serif;
    background-color: #0b1a20;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

/* =========================================================
   2) Forgot Password Wrapper
========================================================= */

.wrapper {
    background-color: #1b2a38;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
    border: 1px solid #0b1a20;
}

/* =========================================================
   3) Header with Logo + Title
========================================================= */

.form-header {
    position: relative;
    margin-bottom: 25px;
    height: 42px;
}

.form-header img {
    position: absolute;
    top: -8px;
    left: -6px;
    width: 55px;
    height: 55px;
}

.form-header h2 {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-variant: small-caps;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ecf0f1;
    line-height: 40px;
}

/* =========================================================
   4) Form Elements
========================================================= */

.form-group {
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: .5em;
}

input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-sizing: border-box;
    color: #000;
    transition: all 0.2s ease-in-out;
}

/* =========================================================
   5) Invalid Input State
========================================================= */

input.is-invalid {
    border: 2px solid #e74c3c !important;
    background-color: #fff0f0 !important;
    box-shadow: 0 0 4px rgba(231, 76, 60, 0.4);
}

/* =========================================================
   6) Button
========================================================= */

.btn {
    background-color: #2980b9;
    color: #ecf0f1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.btn:hover {
    background-color: #3c6e71;
}

/* =========================================================
   7) Footer
========================================================= */

.form-footer {
    margin-top: 10px;
    text-align: center;
}

.form-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}