a:hover {
    color: unset;
}

.main-content {
    padding: 0;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.form-box {
    background: var(--background-block-color);
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    background: transparent;
    color: var(--color-primary);
}

.input:hover, .input:focus {
    border: 1px solid var(--orange-text-color);
    outline: none;
}

.form-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.extra-buttons {
    display: flex;
    justify-content: center;
}

.extra-buttons a {
    color: var(--orange-text-color);
    text-decoration: none;
}

.extra-buttons a:hover {
    text-decoration: underline;
}

.message {
    text-align: center;
    margin-bottom: 1rem;
    border-radius: 6px;
    padding: 8px 12px;
}

.message.error {
    color: var(--error-color);
    background: var(--error-background-color);
}

.message.success {
    color: var(--success-color);
    background: var(--success-background-color);
}

.toggle-password {
    position: absolute;
    right: 19px;
    padding-left: 6px;
    border-left: 1px solid var(--orange-text-color)!important;
    cursor: pointer;
    width: 24px;
    height: 24px;
    top: 14px;
}

.toggle-password svg {
    position: relative;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
}

.toggle-password svg.open {
    display: none;
}

.toggle-password svg path {
    fill: var(--orange-text-color)!important;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input {
    display: flex;
    align-items: center;
    position: relative;
}

.phone-input .prefix {
    font-weight: bold;
    position: absolute;
    color: var(--color-primary);
    padding: 0.8rem;
    margin-bottom: 0.5rem;
}

.phone-input input {
    padding-left: 60px;
}