.word-counter-wrap { max-width: 800px; margin: 20px auto; padding: 30px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); font-family: 'Segoe UI', sans-serif; }
.wc-header { text-align: center; margin-bottom: 20px; }
.wc-header h2 { color: #1a73e8; margin: 0; }

#wc-input { width: 100%; height: 250px; padding: 20px; border: 2px solid #eef0f2; border-radius: 10px; font-size: 16px; outline: none; transition: 0.3s; box-sizing: border-box; line-height: 1.6; }
#wc-input:focus { border-color: #1a73e8; background: #fcfcfc; }

.wc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 25px; }
.wc-box { background: #f8f9fa; padding: 15px; border-radius: 8px; text-align: center; border-bottom: 4px solid #1a73e8; }
.wc-label { display: block; font-size: 12px; color: #666; font-weight: bold; text-transform: uppercase; }
.wc-val { font-size: 22px; font-weight: bold; color: #333; }

.wc-extra-stats { display: flex; gap: 20px; margin-top: 20px; justify-content: center; font-size: 14px; color: #555; font-weight: 500; }
.wc-actions { display: flex; gap: 10px; margin-top: 25px; }
.wc-actions button { flex: 1; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; background: #1a73e8; color: white; transition: 0.2s; }
.wc-actions .btn-clear { background: #ea4335; }

@media (max-width: 600px) { .wc-grid { grid-template-columns: 1fr 1fr; } }