/* GP Business Activation - CSS */

#gp-business-activation-wrapper {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── States ── */
.gpba-state {
    text-align: center;
    padding: 40px 20px;
}

.gpba-state h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 16px 0 8px;
}

.gpba-state p {
    color: #64748b;
    margin: 0 0 8px;
}

.gpba-hint {
    font-size: 0.875rem;
    color: #94a3b8 !important;
}

/* ── Icons ── */
.gpba-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
}

.gpba-icon-success { background: #dcfce7; color: #16a34a; }
.gpba-icon-warning { background: #fef9c3; color: #ca8a04; }
.gpba-icon-danger  { background: #fee2e2; color: #dc2626; }

.gpba-spinner {
    color: #6366f1;
    font-size: 2rem;
    margin: 16px 0;
}

/* ── Card ── */
.gpba-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.gpba-card-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gpba-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gpba-card-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.gpba-card-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin: 0;
}

.gpba-card-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gpba-card-footer {
    padding: 16px 24px 24px;
}

/* ── Form ── */
.gpba-form-group { display: flex; flex-direction: column; gap: 6px; }
.gpba-form-group-full { grid-column: 1 / -1; }

.gpba-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.gpba-required { color: #ef4444; }

.gpba-input,
.gpba-select {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    box-sizing: border-box;
}

.gpba-input:focus,
.gpba-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* ── Buttons ── */
.gpba-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: background 0.15s;
}

.gpba-btn-primary:hover  { background: #4f46e5; }
.gpba-btn-primary:disabled { background: #a5b4fc; cursor: not-allowed; }

.gpba-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    margin-top: 16px;
}

.gpba-btn-secondary:hover { background: #e2e8f0; }

/* ── Alert ── */
.gpba-alert {
    margin: 0 24px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.gpba-alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.gpba-alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.gpba-alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── Mobile ── */
@media (max-width: 480px) {
    .gpba-card-body { grid-template-columns: 1fr; }
    .gpba-form-group-full { grid-column: 1; }
}