/* Word Counter Plugin Styles */

.word-counter-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.word-counter-title {
    color: #fff;
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 0 0 15px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.word-counter-title i {
    font-size: 28px;
}

.word-counter-input-wrapper {
    margin-bottom: 25px;
}

.word-counter-textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    resize: vertical;
    transition: all 0.3s ease;
}

.word-counter-textarea:focus {
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.word-counter-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .word-counter-container {
        margin: 15px;
        padding: 20px;
    }
    
    .word-counter-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .word-counter-title {
        font-size: 20px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .word-counter-textarea,
    .stat-card {
        background: rgba(30, 30, 30, 0.95);
        color: #fff;
    }
    
    .word-counter-textarea {
        color: #333;
    }
    
    .stat-label {
        color: #999;
    }
    
    .stat-value {
        color: #fff;
    }
}