/* ====== RESET ====== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #1E1E1E;
    color: #EAEAEA;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
}

/* ====== УБРАТЬ КРУЖОЧКИ ====== */

ul, li {
    list-style: none;
}

/* ====== HEADER ====== */

header {
    background: #1E1E1E;
    border-bottom: 1px solid #2F2F2F;
    padding: 16px 0;
}

.index-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 44px;
    height: 44px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ====== NAV BUTTONS ====== */

.sign-button,
.registration-button {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.sign-button {
    background: transparent;
    border: 2px solid #9F7BFF;
    color: #9F7BFF;
}

.sign-button:hover {
    background: #9F7BFF;
    color: #1E1E1E;
}

.registration-button {
    background: #7A3FFF;
    color: white;
}

.registration-button:hover {
    background: #6A2FEF;
}

/* ====== ГЛАВНЫЙ КОНТЕЙНЕР ====== */

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

/* ====== ФОРМЫ — КРАСИВЫЕ, СОВРЕМЕННЫЕ ====== */

.form-div {
    background: #2A2A2A;
    padding: 36px 40px;
    border-radius: 14px;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

/* ====== ТЕКСТ В ФОРМАХ ====== */

.form-div h2 {
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 22px;
}

/* ====== ПОЛЯ ВВОДА — АККУРАТНЫЕ ====== */

.form-element {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 16px;
    border-radius: 7px;
    border: 2px solid #3A3A3A;
    background: #333333;
    color: #EAEAEA;
    font-size: 15px;
    transition: 0.2s;
}

.form-element:focus {
    border-color: #7A3FFF;
    background: #3A3A3A;
    outline: none;
}

/* ====== КНОПКИ — КРАСИВЫЕ, НЕ ГИГАНТСКИЕ ====== */

.button {
    width: 100%;
    padding: 11px;
    border-radius: 7px;
    border: none;
    background: #7A3FFF;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.button:hover {
    background: #6A2FEF;
}

/* ====== ДВЕ КНОПКИ РЯДОМ ====== */

.buttons-div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.forgotten-cancel-button,
.forgotten-reset-button {
    flex: 1;
    padding: 11px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

/* Cancel */
.forgotten-cancel-button {
    background: #444;
    color: #EAEAEA;
}

.forgotten-cancel-button:hover {
    background: #555;
}

/* Reset */
.forgotten-reset-button {
    background: #7A3FFF;
    color: white;
}

.forgotten-reset-button:hover {
    background: #6A2FEF;
}

/* ====== ОШИБКИ ====== */

.text-danger {
    color: #FF4F6D;
    margin-bottom: 10px;
    font-size: 14px;
}

/* ====== ГЛАВНАЯ СТРАНИЦА ====== */

.index-form-div {
    background: #2A2A2A;
    padding: 40px 45px;
    border-radius: 14px;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

.index-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.index-subtitle {
    font-size: 17px;
    margin-bottom: 22px;
    color: #CFCFCF;
}

.Register-or-sign-buttons li {
    margin-bottom: 12px;
}

.Register-or-sign-buttons button {
    width: 100%;
    padding: 11px;
    font-size: 15px;
    border-radius: 7px;
}
.google-button {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    max-width: 420px;

    padding: 12px 16px;
    border-radius: 6px;

    background: white;
    border: 1px solid #dadce0;

    font-size: 16px;
    font-weight: 500;
    color: #444;

    cursor: pointer;
    text-decoration: none;

    transition: background 0.2s, box-shadow 0.2s;
}

.google-button img {
    width: 20px;
    height: 20px;
}

.google-button:hover {
    background: #f7f7f7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.form-element-forgot {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

