.wc-tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wc-input-section textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 15px;
}

.wc-button-container {
    text-align: center;
    margin-bottom: 20px;
}

.wc-primary-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.wc-primary-btn:hover {
    background: #45a049;
}

.wc-results-section {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.wc-basic-counts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.wc-count-box {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wc-words-box { background-color: #e3f2fd; }
.wc-chars-box { background-color: #e8f5e9; }
.wc-syllables-box { background-color: #fff8e1; }
.wc-sentences-box { background-color: #f3e5f5; }
.wc-time-box { background-color: #e0f7fa; }

.wc-count-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.wc-count-label {
    font-size: 14px;
    color: #666;
}

.wc-stats-card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wc-density-card {
    background: #fff3e0;
}

.wc-stats-card h3 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.wc-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.wc-stats-table td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.wc-stats-table td:first-child {
    font-weight: bold;
    color: #555;
    width: 60%;
}

.wc-density-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.wc-density-controls input[type="number"] {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wc-density-results {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.wc-density-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.wc-density-item:last-child {
    border-bottom: none;
}