
/* Reuse login visual language while giving register card a bit more breathing room. */
.login-card {
    width: min(500px, 94vw);
}

.register-row {
    justify-content: flex-start;
}

.register-row .remember {
    line-height: 1.4;
}

.code-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.code-wrap input {
    min-width: 0;
}

.send-code-btn {
    border: 1px solid #f3dbe8;
    border-radius: 12px;
    height: 44px;
    padding: 0 14px;
    background: linear-gradient(180deg, #fffafc 0%, #fff2f8 100%);
    color: #cd8baa;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.send-code-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(236, 174, 206, 0.22);
}

.send-code-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.form-error.is-success {
    color: #5e9b7b;
}

@media (max-width: 560px) {
    .code-wrap {
        grid-template-columns: 1fr;
    }

    .send-code-btn {
        width: 100%;
    }
}

