/* ===================================================
   invite-setup.css — Invitation setup / theme picker styles
   Requires: global.css
   =================================================== */

.section-header {
    padding: 20px 20px 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

/* 2-column theme selector */
.themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 20px;
}

.theme-card {
    position: relative;
    height: 160px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.theme-1 { background: linear-gradient(135deg, #1a1a1a, #434343); }
.theme-2 { background: linear-gradient(135deg, #fdfbfb, #ebedee); }
.theme-3 { background: linear-gradient(135deg, #0f2027, #203a43); }
.theme-4 { background: linear-gradient(135deg, #D4AF37, #b5952f); }
.theme-sage-green { background: linear-gradient(135deg, #7a9e7e, #4a7050); }

/* Single-theme layout — full width card */
.themes-single {
    grid-template-columns: 1fr;
}

.themes-single .theme-card {
    height: 100px;
    cursor: default;
}

.theme-card.selected {
    border-color: var(--primary-gold);
    transform: scale(0.98);
}

.checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gold);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-card.selected .checkmark { opacity: 1; transform: scale(1); }

.theme-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.theme-2 .theme-name { background: rgba(255, 255, 255, 0.8); color: var(--text-main); }

/* Details form — always visible (single theme pre-selected) */
.details-form {
    padding: 20px;
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.row-inputs { display: flex; gap: 10px; }
.row-inputs .form-group { flex: 1; }

/* ─── Calligraphy section ────────────────────────────────────────────────── */
.calligraphy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    padding: 12px 0 4px;
}

.calligraphy-header i { color: var(--primary-gold); font-size: 18px; }

.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-right: auto;
}

.badge-pending {
    background: #FFF3CD;
    color: #856404;
}

.badge-complete {
    background: #D1FAE5;
    color: #065F46;
}

.btn-preview {
    width: 100%;
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
