/* Form-specific styles only */

.form-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333333;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.group-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.group-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0066cc;
}

.group-instructions {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.radio-option input,
.checkbox-option input {
    width: auto;
    margin: 0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.submit-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #0056b3;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.other-text-container {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .form-section {
        padding: 1.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Dashboard */
.dash-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.dash-wrapper > h1 {
    margin-bottom: 30px;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.dash-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dash-card-header h3 {
    margin: 0;
}

.dash-card-meta {
    color: #666;
    font-size: 13px;
}

.dash-card-value {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
}

.dash-card-subtitle {
    color: #999;
    margin-bottom: 15px;
}

.dash-card-range {
    display: flex;
    justify-content: space-between;
    color: #999;
    margin-bottom: 15px;
    font-size: 14px;
}

.dash-card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.dash-card-link:hover {
    text-decoration: underline;
}

.dash-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.dash-card-desc {
    color: #999;
    margin: 20px 0;
    line-height: 1.6;
}

.dash-card-features {
    margin: 15px 0;
}

.dash-card-features-label {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.dash-card-features-item {
    color: #999;
    font-size: 14px;
}

.dash-signal-change {
    font-size: 13px;
    margin-left: 8px;
}

.dash-signal-note {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Billing */
.billing-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.billing-notice-info {
    background: #dbeafe;
    color: #1e40af;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #3b82f6;
    border-radius: 4px;
}

.billing-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    margin: 20px 0;
}

.billing-table {
    width: 100%;
    margin: 20px 0;
}

.billing-table tr {
    border-bottom: 1px solid #333;
}

.billing-table tr:last-child {
    border-bottom: none;
}

.billing-table td {
    padding: 10px 0;
}

.billing-table td:first-child {
    color: #999;
}

.billing-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.billing-tier-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.billing-locked {
    color: #10b981;
    font-size: 14px;
}

.billing-cancel-form {
    margin-top: 20px;
}

.billing-cancel-btn {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.billing-cancel-btn:hover {
    background: #ef444420;
}

.billing-notice-warn {
    background: #fef3c7;
    color: #92400e;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #f59e0b;
    border-radius: 4px;
}

.billing-empty {
    color: #999;
}