/* GEO Content Analyzer Styles */
.gca-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    direction: rtl;
}

.gca-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.gca-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin: 0;
}

.gca-form-container {
    margin-bottom: 30px;
}

.gca-form-group {
    margin-bottom: 25px;
}

.gca-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #34495e;
    font-size: 16px;
}

.gca-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.gca-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.gca-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.gca-input:focus {
    outline: none;
    border-color: #3498db;
}

.gca-help-text {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 13px;
}

.gca-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gca-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.gca-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gca-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gca-results {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.gca-results-header h3 {
    color: #2c3e50;
    font-size: 24px;
    margin: 0 0 20px 0;
    text-align: center;
}

.gca-score-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.gca-analysis-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    line-height: 1.8;
}

.gca-analysis-content h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.gca-analysis-content ul {
    margin-right: 20px;
}

.gca-analysis-content li {
    margin-bottom: 10px;
}

.gca-analysis-content blockquote {
    border-right: 4px solid #3498db;
    padding-right: 15px;
    margin: 20px 0;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 4px;
}

.gca-error {
    background: #ffe6e6;
    color: #c0392b;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-right: 4px solid #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gca-container {
        padding: 20px;
    }
    
    .gca-header h2 {
        font-size: 22px;
    }
    
    .gca-button {
        width: 100%;
        justify-content: center;
    }
}