/* Forgot password page overrides while reusing login.css base style. */
.login-card {
    width: min(500px, 94vw);
}

.code-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.code-wrap input {
    min-width: 0;
}

.send-code-btn {
    border: 1px solid #f0cde0;
    border-radius: 14px;
    padding: 0 14px;
    min-width: 106px;
    background: linear-gradient(180deg, #fff9fd 0%, #ffeef7 100%);
    color: #c56b93;
    font-size: 0.83rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.send-code-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(236, 174, 206, 0.28);
}

.send-code-btn:disabled {
    cursor: not-allowed;
    color: #bca5b3;
    border-color: #efdfeb;
    background: #fbf8fa;
    box-shadow: none;
}

.form-error.is-success {
    color: #5e9b7b;
}

@media (max-width: 560px) {
    .code-wrap {
        grid-template-columns: 1fr;
    }

    .send-code-btn {
        width: 100%;
        height: 40px;
    }
}

