/* BeastToolsHub Word Counter — Brand Colors: Orange #FF6B35 / Dark Navy #1A1A2E */

.bwc-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

.bwc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
    border: 1px solid #f0f0f0;
}

.bwc-textarea {
    width: 100%;
    min-height: 220px;
    padding: 16px;
    font-size: 16px;
    line-height: 1.6;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    resize: vertical;
    font-family: inherit;
    color: #1A1A2E;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.bwc-textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

.bwc-textarea::placeholder {
    color: #999999;
}

.bwc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.bwc-stat-box {
    background: #FFF3EE;
    border-radius: 10px;
    padding: 16px 8px;
    text-align: center;
    border: 1px solid #FFE0D2;
}

.bwc-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
    line-height: 1.2;
}

.bwc-stat-label {
    display: block;
    font-size: 12px;
    color: #1A1A2E;
    margin-top: 4px;
    font-weight: 500;
}

.bwc-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.bwc-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.bwc-btn-primary {
    background: #FF6B35;
    color: #ffffff;
}

.bwc-btn-primary:hover {
    background: #e85a28;
}

.bwc-btn-secondary {
    background: #ffffff;
    color: #1A1A2E;
    border: 2px solid #e8e8e8;
}

.bwc-btn-secondary:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

.bwc-copy-feedback {
    text-align: center;
    color: #1B5E20;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 0;
    height: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bwc-copy-feedback.bwc-show {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .bwc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bwc-card {
        padding: 18px;
        border-radius: 12px;
    }
    .bwc-stat-number {
        font-size: 20px;
    }
    .bwc-actions {
        flex-direction: column;
    }
}
