/* Base styles for all grammar practice pages */
.grammar-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.content-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: 100%;
}

/* Button styles */
.tense-select-btn,
.verb-select-btn,
.adj-select-btn {
    background-color: #e9ecef;
    border: none;
    color: #495057;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tense-select-btn:hover,
.verb-select-btn:hover,
.adj-select-btn:hover {
    background-color: #d0ebff;
    color: #1c7ed6;
}

.tense-select-btn.active,
.verb-select-btn.active,
.adj-select-btn.active {
    background-color: #1c7ed6;
    color: white;
}

/* Exercise container */
.exercise-container {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    min-height: 300px;
}

/* List group customization */
.list-group-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: #f1f3f5;
}

.list-group-item.active {
    background-color: #1c7ed6;
    border-color: #1c7ed6;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-card {
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}