/* ═══ T2MS Express Site Creator ═══ */
.t2ms-express-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1a1a2e;
}

/* ── Header ── */
.t2ms-express-header {
    text-align: center;
    margin-bottom: 48px;
}
.t2ms-express-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0 0 12px;
    color: #1a1a2e;
}
.t2ms-express-header p {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ── Step indicators ── */
.t2ms-express-steps {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
}
.t2ms-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    transition: all 0.3s;
}
.t2ms-step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s;
}
.t2ms-step.active {
    color: #7c3aed;
    background: #f5f3ff;
}
.t2ms-step.active span {
    background: #7c3aed;
    color: #fff;
}
.t2ms-step.done {
    color: #059669;
    background: #ecfdf5;
}
.t2ms-step.done span {
    background: #059669;
    color: #fff;
}

/* ── Panels ── */
.t2ms-express-panel {
    display: none;
}
.t2ms-express-panel.active {
    display: block;
    animation: t2ms-fadeIn 0.3s ease;
}
@keyframes t2ms-fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Panel intro ── */
.t2ms-panel-intro {
    margin-bottom: 32px;
}
.t2ms-panel-intro h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.t2ms-panel-intro p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}
.t2ms-panel-intro strong {
    color: #374151;
}

/* ── Content sections ── */
.t2ms-content-section {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}
.t2ms-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.t2ms-section-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.t2ms-section-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.t2ms-section-header p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ── Fields ── */
.t2ms-field {
    margin-bottom: 20px;
}
.t2ms-field:last-child {
    margin-bottom: 0;
}
.t2ms-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.t2ms-field input[type="text"],
.t2ms-field input[type="email"],
.t2ms-field textarea,
.t2ms-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.t2ms-field input:focus,
.t2ms-field textarea:focus,
.t2ms-field select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.t2ms-field textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

/* ── Field description ── */
.t2ms-field-desc {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 6px;
    line-height: 1.5;
}

/* ── Field row (side by side) ── */
.t2ms-field-row {
    display: flex;
    gap: 16px;
}
.t2ms-field-row .t2ms-field {
    flex: 1;
}

/* ── Subdomain ── */
.t2ms-subdomain-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.t2ms-subdomain-wrap:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.t2ms-subdomain-wrap input {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
}
.t2ms-subdomain-suffix {
    padding: 12px 14px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    border-left: 1px solid #e5e7eb;
}

.t2ms-field-hint {
    font-size: 0.8rem;
    margin-top: 6px;
    min-height: 20px;
    color: #6b7280;
}
.t2ms-field-hint.t2ms-ok { color: #059669; }
.t2ms-field-hint.t2ms-error { color: #dc2626; }

/* ── Radio & Checkbox ── */
.t2ms-radio-group {
    display: flex;
    gap: 24px;
}
.t2ms-radio, .t2ms-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    cursor: pointer;
    color: #374151;
}
.t2ms-checkbox {
    margin-top: 12px;
}
.t2ms-terms {
    margin-top: 24px;
}
.t2ms-terms a {
    color: #7c3aed;
    text-decoration: underline;
}

/* ── Colors ── */
.t2ms-color-row {
    display: flex;
    gap: 24px;
    transition: opacity 0.3s;
}
.t2ms-color-pick {
    flex: 1;
}
.t2ms-color-pick label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
}
.t2ms-color-pick input[type="color"] {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    padding: 4px;
    background: #fff;
}

/* ── Logo upload ── */
.t2ms-upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}
.t2ms-upload-zone:hover,
.t2ms-upload-zone.dragover {
    border-color: #7c3aed;
    background: #f5f3ff;
}
.t2ms-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.92rem;
}
.t2ms-upload-icon {
    font-size: 2rem;
}
.t2ms-upload-hint {
    font-size: 0.78rem;
    color: #9ca3af;
}
.t2ms-upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.t2ms-upload-preview img {
    max-height: 80px;
    max-width: 200px;
    border-radius: 8px;
}
.t2ms-upload-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Summary ── */
.t2ms-express-summary h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 20px;
}
.t2ms-summary-grid {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.t2ms-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid #f3f4f6;
}
.t2ms-summary-row:last-child {
    border-bottom: none;
}
.t2ms-summary-row span { color: #6b7280; }
.t2ms-summary-row strong { color: #1a1a2e; text-align: right; max-width: 60%; }

/* ── Price box ── */
.t2ms-price-box {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}
.t2ms-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.t2ms-price-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}

/* ── Buttons ── */
.t2ms-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}
.t2ms-btn-express {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.t2ms-btn-next, .t2ms-btn-pay {
    flex: 1;
    background: #7c3aed;
    color: #fff;
}
.t2ms-btn-next:hover, .t2ms-btn-pay:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}
.t2ms-btn-back {
    background: #f3f4f6;
    color: #374151;
}
.t2ms-btn-back:hover {
    background: #e5e7eb;
}
.t2ms-btn-pay {
    font-size: 1.05rem;
    padding: 18px 32px;
}
.t2ms-btn-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── Error ── */
.t2ms-express-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 14px 20px;
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .t2ms-express-wrap { padding: 24px 16px 60px; }
    .t2ms-express-steps { flex-wrap: wrap; gap: 6px; }
    .t2ms-step { padding: 6px 10px; font-size: 0.75rem; }
    .t2ms-step span { width: 22px; height: 22px; font-size: 0.72rem; }
    .t2ms-field-row { flex-direction: column; gap: 0; }
    .t2ms-color-row { flex-direction: column; gap: 16px; }
    .t2ms-price-includes { grid-template-columns: 1fr; }
    .t2ms-form-actions { flex-direction: column; }
    .t2ms-subdomain-suffix { font-size: 0.78rem; padding: 12px 10px; }
    .t2ms-content-section { padding: 18px; }
    .t2ms-section-header { gap: 10px; }
}
