/* assets/css/frontend-style.css */

.cga-form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cga-header {
    text-align: center;
    margin-bottom: 40px;
}

.cga-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.cga-header p {
    font-size: 16px;
    color: #666;
}

.cga-pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cga-pricing-card {
    position: relative;
    padding: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.cga-pricing-card:hover {
    border-color: #0073aa;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,115,170,0.15);
}

.cga-pricing-card.featured {
    border-color: #0073aa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.cga-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.cga-pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.cga-price {
    font-size: 36px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 15px;
}

.cga-description {
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

.cga-pricing-card p {
    color: #666;
    margin-bottom: 20px;
}

.cga-select-plan {
    width: 100%;
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cga-select-plan:hover {
    background: #005a87;
}

.cga-error {
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    text-align: center;
}

.cga-form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cga-form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.cga-form-group {
    margin-bottom: 20px;
}

.cga-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.cga-form-group input[type="text"],
.cga-form-group input[type="email"],
.cga-form-group input[type="url"],
.cga-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.cga-form-group input:focus,
.cga-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.cga-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.cga-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.cga-btn-primary,
.cga-btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cga-btn-primary {
    background: #0073aa;
    color: white;
}

.cga-btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,115,170,0.3);
}

.cga-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.cga-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.cga-btn-secondary:hover {
    background: #e0e0e0;
}

.cga-loading {
    text-align: center;
    padding: 40px;
}

.cga-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cga-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    display: none;
}

.cga-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.cga-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@media (max-width: 768px) {
    .cga-form-container {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .cga-pricing-options {
        grid-template-columns: 1fr;
    }
    
    .cga-form-actions {
        flex-direction: column;
    }
    
    .cga-btn-primary,
    .cga-btn-secondary {
        width: 100%;
    }
    
    .cga-header h2 {
        font-size: 24px;
    }
}