body {
    margin: 0;
    background-color: #f5f7fb;
    font-family: Arial, sans-serif;
    color: #111827;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    width: 360px;
    margin: 30px;
    padding: 30px;
    background-color: white;
    border: 1px solid #dddddd;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.back-link {
    position: fixed;
    top: 20px;
    right: 25px;
    color: #6aa3e8;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    opacity: 0.7;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

h1 {
    margin: 0 0 8px;
    font-size: 24px;
}

h2 {
    margin: 0 0 24px;
    color: #666666;
    font-size: 15px;
    font-weight: normal;
}

.message {
    margin-bottom: 18px;
    padding: 11px;
    border-radius: 8px;
    font-size: 14px;
}

.error {
    background-color: #ffe4e6;
    color: #a85b5b;
}

.success {
    background-color: #dcfce7;
    color: #4d9569;
}

p {
    margin: 14px 0 6px;
    font-weight: bold;
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 15px;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #6aa3e8;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #5d91d8;
}

form h2:last-child {
    margin: 22px 0 0;
    text-align: center;
}

a {
    color: #6aa3e8;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}


.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    background-color: transparent;
    color: #475569;
    font-size: 18px;
}

@media (max-width: 480px) {
    form {
        width: auto;
        margin: 20px;
        padding: 24px;
    }
}


.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.password-toggle:hover,
.password-toggle:focus,
.password-toggle:active {
    background-color: transparent;
    color: #475569;
    box-shadow: none;
    outline: none;
}

.verify-text {
    margin: 14px 0 0;
    color: #666666;
    font-weight: normal;
    line-height: 1.5;
}

.secondary-form {
    margin-top: -18px;
    padding-top: 0;
    box-shadow: none;
}

.secondary-button {
    margin-top: 0;
    background-color: #e8eef6;
    color: #111827;
}

.secondary-button:hover {
    background-color: #dbe6f3;
}
