/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Generated content styling */
#generatedContent {
    white-space: pre-wrap;
    font-size: 1rem;
    line-height: 1.5;
    max-height: 500px;
    overflow-y: auto;
}

/* Form element focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

button:disabled {
    animation: pulse 1.5s infinite;
}

/* Content Analysis Styles */
.analysis-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.analysis-section {
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.analysis-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.analysis-section h4 {
    color: #495057;
    margin: 15px 0 10px;
}

.keyword-density ul,
.matches ul,
.grammar-issues ul {
    list-style: none;
    padding: 0;
}

.keyword-density li,
.matches li,
.grammar-issues li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.grammar-issues li {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.grammar-issues strong {
    color: #dc3545;
} 