/* LessonCreate Plus Subscription Form Styles */

.lc-plus-subscription-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lc-pricing-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.lc-pricing-info h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.lc-pricing-info__intro {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.lc-pricing-info__tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.lc-pricing-info__tier {
    background: #fff;
    border-radius: 6px;
    padding: 14px 16px;
    border: 1px solid #e1e5e9;
}

.lc-pricing-info__tier h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #2a3b66;
}

.lc-pricing-info ul {
    margin: 0;
    padding-left: 18px;
}

.lc-pricing-info li {
    margin-bottom: 4px;
    color: #555;
    line-height: 1.5;
    font-size: 13px;
}

.lc-pricing-info li strong {
    font-size: 13px;
}

.data-processing-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.data-processing-notice p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.lc-plus-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"] {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.form-group small {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group__heading {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #2a3b66;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.radio-group__heading:first-child {
    margin-top: 0;
}

.radio-price {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #fff;
}

.radio-label:hover {
    border-color: #007cba;
    background: #f8f9fa;
}

.radio-label input[type="radio"] {
    margin: 0 12px 0 0;
    transform: scale(1.2);
    accent-color: #007cba;
}

.radio-label input[type="radio"]:checked + .radio-text {
    color: #007cba;
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #007cba;
    background: #f0f8ff;
}

.radio-text {
    flex: 1;
    line-height: 1.4;
    color: #333;
}

.price-display {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #007cba;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 52px;
}

.submit-button:hover:not(:disabled) {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading-spinner {
    display: none;
}

.form-messages {
    margin-top: 20px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 500;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
    .lc-plus-subscription-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .lc-pricing-info__tiers {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-label {
        padding: 10px 12px;
    }
    
    .submit-button {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Admin page styles */
.wp-list-table th,
.wp-list-table td {
    padding: 12px 8px;
}

.status-pending {
    color: #d63638;
    font-weight: bold;
}

.status-completed {
    color: #00a32a;
    font-weight: bold;
}

.status-cancelled {
    color: #8c8f94;
    font-weight: bold;
}

/* Form validation styles */
.form-group input:invalid {
    border-color: #d63638;
}

.form-group input:valid {
    border-color: #00a32a;
}
