/* ============================================================
   AMILAGuru Phone Verification — phone-form.css
   ============================================================ */

/* Outer wrapper — full-width, centres the card */
.ag-phone-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px 60px;
    min-height: 60vh;
    font-family: inherit;
}

/* Card */
.ag-phone-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 480px;
    text-align: center;
}

/* Icon */
.ag-phone-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* Heading */
.ag-phone-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

/* Sub-text */
.ag-phone-subtitle {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ag-phone-subtitle em {
    font-style: italic;
    display: block;
    margin-top: 6px;
    color: #9ca3af;
}

/* Error banner */
.ag-phone-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #b91c1c;
    padding: 12px 16px;
    font-size: 0.88rem;
    margin-bottom: 20px;
    text-align: left;
}

/* Form layout */
.ag-phone-form {
    text-align: left;
}

.ag-phone-field {
    margin-bottom: 20px;
}

.ag-phone-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ag-phone-hint {
    display: block;
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.80rem;
    margin-top: 2px;
}

.ag-phone-field input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #111827;
    background: #f9fafb;
}

.ag-phone-field input[type="tel"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #fff;
}

/* Submit button */
.ag-phone-btn {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 4px;
}

.ag-phone-btn:hover {
    background: #1d4ed8;
}

.ag-phone-btn:active {
    transform: scale(0.98);
}

/* Privacy note */
.ag-phone-privacy {
    font-size: 0.78rem;
    color: #9ca3af;
    margin: 20px 0 0;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .ag-phone-card {
        padding: 28px 20px 24px;
    }

    .ag-phone-title {
        font-size: 1.25rem;
    }
}
