.word-counter-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.word-counter-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.word-counter-input-container {
    margin-bottom: 15px;
}

#word-counter-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s ease;
}

#word-counter-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.word-counter-actions {
    margin-bottom: 20px;
    text-align: right;
}

.word-counter-button {
    padding: 8px 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.word-counter-button:hover {
    background-color: #c0392b;
}

.word-counter-results {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.word-counter-result-box {
    flex: 1;
    min-width: 150px;
    background-color: white;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-icon {
    font-size: 24px;
    color: #3498db;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8f4fc;
    border-radius: 50%;
}

.result-content {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .word-counter-results {
        flex-direction: column;
    }
    
    .word-counter-result-box {
        width: 100%;
    }
    
    .word-counter-actions {
        text-align: center;
    }
}