/* Main Container */
.word-counter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.word-counter-container h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Input Container */
.input-container {
    margin-bottom: 25px;
}

.input-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 8px;
}

#word-counter-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#word-counter-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Results Container */
.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.result-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.result-content {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

/* Info Note */
.info-note {
    padding: 12px 15px;
    background-color: #e3f2fd;
    border-radius: 6px;
    font-size: 14px;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-note i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .word-counter-container {
        padding: 20px;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
    
    #word-counter-input {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .word-counter-container {
        padding: 15px;
    }
    
    .result-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .result-content {
        align-items: center;
    }
}