.reset-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f7f8fa;
}

.reset-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.reset-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-mark {
    font-size: 38px;
    margin-bottom: 12px;
}

.reset-header h1 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.reset-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.password-requirements {
    background: #f7f8fa;
    border-radius: 14px;
    padding: 15px 18px;
    margin: 22px 0;
    color: #4b5563;
    font-size: 13px;
}

.password-requirements strong {
    color: #111827;
}

.password-requirements ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 4px;
}

.primary-button {
    width: 100%;
    border: none;
    border-radius: 13px;
    padding: 14px 20px;
    background: #111827;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease,
                transform 0.2s ease;
}

.primary-button:hover {
    opacity: 0.92;
}

.primary-button:active {
    transform: scale(0.99);
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 13px 15px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.5;
}

.back-login {
    text-align: center;
    margin-top: 22px;
}

.link-button {
    border: none;
    background: transparent;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.link-button:hover {
    text-decoration: underline;
}

.success-state {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.success-state h1 {
    font-size: 27px;
    margin-bottom: 12px;
    color: #111827;
}

.success-state p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.validation-message {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 600px) {

    .reset-page {
        padding: 25px 15px;
    }

    .reset-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .reset-header h1 {
        font-size: 26px;
    }
}