:root {
    --field-bg-color: rgba(255, 255, 255, 0.1);
    --field-text-color: var(--theme-text-color);

    --error-bg-color: rgb(113, 16, 15);
    --error-text-color: rgb(254, 202, 201);
    --error-border-color: rgba(254, 202, 201, 0.2);
    --button-text-color: var(--theme-text-color);
}

html {
    background-color: var(--theme-color);
}

#content-wrapper {
    color: var(--theme-text-color);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

h1 {
    font-size: 24px;
    font-weight: 700;
}

#logo {
    max-width: min(90%, 200px);
    height: auto;
}

form {
    width: min(400px, 90%);
    padding: 5vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;

    p {
        margin: 0;
    }

    a {
        margin-top: 10px;
        color: var(--theme-text-color);
    }
}

.form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;

    h1 {
        margin: 0;
    }

    p {
        margin: 0;
        text-align: center;
    }
}

.form-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;

    a {
        margin: 0;
        text-decoration: none;
    }

    padding-bottom: 20px;
}

/* Password input wrapper for positioning the toggle button */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Password toggle button */
.password-toggle {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #374151;
}

.password-toggle svg {
    width: 24px;
    height: 24px;
}