@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --accent: #d8a23a;
    --accent-light: #f0c86a;

    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.68);

    --background: #080808;
    --card: rgba(10, 10, 10, 0.88);
    --navbar: rgba(5, 5, 5, 0.94);

    --border: rgba(255, 255, 255, 0.11);

    --danger: #e05252;
    --success: #5ecb83;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    font-family: 'Inter', sans-serif;

    color: var(--text);

    background-color: var(--background);

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.68),
            rgba(0, 0, 0, 0.92)
        ),
        url("https://galerie.t-life.fr/media/gallery/texts.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}


/* NAVBAR */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--navbar);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);

    z-index: 1000;
}

.logo {
    font-size: 25px;
    font-weight: 900;

    letter-spacing: 3px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 8px;
}

.nav-link {
    position: relative;

    padding: 12px 18px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 15px;
    font-weight: 600;

    border-radius: 7px;

    transition: 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 5px;

    height: 2px;

    background: var(--accent);

    border-radius: 10px;
}

.nav-link.discord {
    margin-left: 8px;

    color: #ffffff;

    background: rgba(216, 162, 58, 0.15);

    border: 1px solid rgba(216, 162, 58, 0.35);
}

.nav-link.discord:hover {
    color: #111111;

    background: var(--accent);
}


/* PAGE */

.forgot-page {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 140px 20px 70px;
}


/* CONTAINER */

.forgot-container {
    width: 100%;
    max-width: 500px;

    padding: 42px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    backdrop-filter: blur(18px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);
}


/* HEADER */

.forgot-header {
    text-align: center;

    margin-bottom: 30px;
}

.badge {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 16px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.30);

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.forgot-header h1 {
    margin-bottom: 15px;

    font-size: 38px;
    font-weight: 900;

    line-height: 1.1;
}

.forgot-header h1 span {
    color: var(--accent);
}

.forgot-header p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* MESSAGE */

.message {
    display: none;

    margin-bottom: 20px;

    padding: 14px;

    border-radius: 8px;

    font-size: 13px;

    line-height: 1.5;
}

.message.error {
    display: block;

    color: #ffb1b1;

    background: rgba(224, 82, 82, 0.10);

    border: 1px solid rgba(224, 82, 82, 0.30);
}

.message.success {
    display: block;

    color: #a7edbe;

    background: rgba(94, 203, 131, 0.10);

    border: 1px solid rgba(94, 203, 131, 0.30);
}


/* FORM */

.forgot-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
}

.form-group input {
    width: 100%;

    padding: 15px 16px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    outline: none;

    font-family: inherit;

    transition: 0.25s ease;
}

.form-group input:focus {
    border-color: rgba(216, 162, 58, 0.65);

    background: rgba(255, 255, 255, 0.07);

    box-shadow:
        0 0 0 3px rgba(216, 162, 58, 0.08);
}


/* BUTTON */

.submit-button {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;

    padding: 15px;

    color: #111111;

    background: var(--accent);

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;

    font-size: 14px;
    font-weight: 800;

    transition: 0.25s ease;
}

.submit-button:hover {
    background: var(--accent-light);

    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}


/* BACK */

.back-login {
    margin-top: 25px;

    text-align: center;
}

.back-login a {
    color: rgba(255, 255, 255, 0.48);

    font-size: 13px;

    transition: color 0.25s ease;
}

.back-login a:hover {
    color: #ffffff;
}


/* FOOTER */

footer {
    width: 100%;

    padding: 24px 6%;

    background: rgba(0, 0, 0, 0.45);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .navbar {
        height: auto;
        min-height: 75px;

        padding: 15px 5%;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .nav-link {
        padding: 9px 12px;

        font-size: 13px;
    }

    .forgot-page {
        padding-top: 180px;
    }
}

@media (max-width: 600px) {

    .forgot-page {
        padding: 155px 15px 50px;
    }

    .forgot-container {
        padding: 28px 22px;
    }

    .forgot-header h1 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;

        align-items: center;

        gap: 8px;

        text-align: center;
    }
}