.tl-signup-wrapper {
    max-width: 960px;
    margin: 2rem auto;
}

/* Heading */

.tl-signup-header h2 {
    margin: 0 0 0.25rem;
    font-size: 2rem;
}

.tl-signup-header p {
    margin: 0 0 1.5rem;
    color: #666;
}

/* Toggle: card-like buttons, stacked on mobile, row on desktop */

.tl-signup-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .tl-signup-toggle {
        flex-direction: row;
        gap: 0.75rem;
    }

    .tl-toggle-btn {
        flex: 1 1 50%; 
    }
}

.tl-toggle-btn {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0.7rem 1.1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tl-toggle-btn .tl-toggle-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

.tl-toggle-btn .tl-toggle-sub {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

.tl-toggle-btn.active {
    background: #1a73e8;
    border-color: #1a73e8;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.25);
}

.tl-toggle-btn.active .tl-toggle-title,
.tl-toggle-btn.active .tl-toggle-sub {
    color: #ffffff; /* subtext white when active */
}

/* Side-by-side on larger screens */

@media (min-width: 768px) {
    .tl-signup-toggle {
        flex-direction: row;
    }
}

/* Pricing section */

.tl-signup-pricing {
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.75rem;
}

.tl-price-main {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.tl-price-amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.tl-price-period {
    font-size: 0.95rem;
    color: #4b5563;
}

.tl-seat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/*.tl-seat-info {
    flex: 1 1 auto;
}*/

.tl-seat-label {
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.tl-seat-helper {
    font-size: 0.85rem;
    color: #6b7280;
}

.tl-seat-control {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.tl-seat-btn {
    border: none;
    background: transparent;
    padding: 0.4rem 0.8rem;
    font-size: 1.1rem;
    cursor: pointer;
}

#tl-seat-input {
    width: 64px;
    border: none;
    text-align: center;
    padding: 0.35rem;
    font-size: 0.95rem;
    outline: none;
}

.tl-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tl-total-row span:last-child {
    font-variant-numeric: tabular-nums;
}

.tl-billing-note {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0 0 0.4rem;
}

.tl-seat-flex-note {
    font-size: 0.85rem;
    color: #374151;
    margin: 0;
}

/* Form */

.tl-signup-form {
    margin-top: 1.75rem;
}

.tl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.tl-form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.tl-form-group input {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.tl-form-full {
    grid-column: 1 / -1;
}

.tl-submit-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: #1a73e8;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.tl-submit-btn:hover {
    background: #1558b0;
    transform: translateY(-1px);
}

.tl-signup-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.tl-signup-message.is-error {
    color: #b91c1c;
}

.tl-signup-message.is-success {
    color: #15803d;
}

.tl-security-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Mobile tweaks */

@media (max-width: 768px) {
    .tl-signup-wrapper {
        padding: 0 0.5rem;
    }

    .tl-form-grid {
        grid-template-columns: 1fr;
    }

    .tl-seat-row {
        align-items: flex-start;
    }
}
