.td-launch-form-wrap {
    max-width: 520px;
    margin: 0 auto;
}

.td-launch-form .td-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.td-launch-form .td-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.td-launch-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.td-launch-form input[type="email"]:focus {
    border-color: #2563eb;
}

.td-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.td-launch-btn:hover {
    background: #1d4ed8;
}

.td-launch-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.td-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: td-spin 0.6s linear infinite;
}

@keyframes td-spin {
    to { transform: rotate(360deg); }
}

.td-form-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.td-form-message.td-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.td-form-message.td-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.td-notice {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
}

.td-notice-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Progress bar */
.td-progress-wrap {
    padding: 20px 0;
}

.td-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.td-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 8px;
    transition: width 0.6s ease;
}

.td-progress-step {
    margin: 12px 0 0;
    font-size: 14px;
    color: #4b5563;
    text-align: center;
}

/* Stacked layout (Elementor option) */
.td-layout-stacked .td-input-row {
    flex-direction: column;
}

.td-layout-stacked .td-launch-btn {
    justify-content: center;
    width: 100%;
}

.td-layout-stacked .td-launch-form input[type="email"] {
    width: 100%;
}

/* Ensure input takes full width in stacked layout */
.td-layout-stacked .td-form-group {
    width: 100%;
}

@media (max-width: 480px) {
    .td-layout-inline .td-input-row {
        flex-direction: column;
    }

    .td-layout-inline .td-launch-btn {
        justify-content: center;
    }
}
