#dd-word-counter-overlay {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #f1f1f1;
    color: #333;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    max-width: 250px;
    font-family: sans-serif;
    transition: all 0.3s ease;
}
#dd-word-counter-overlay.dd-dark-mode {
    background: #222;
    color: #eee;
}
.dd-alert {
    color: #e67e22;
    display: block;
    margin-top: 4px;
}
.dd-ok {
    color: #2ecc71;
    display: block;
    margin-top: 4px;
}
.dd-goal-alert {
    color: #3498db;
    font-weight: bold;
    margin-top: 4px;
}
#dd-word-preview-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dd-modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dd-modal-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

#dd-word-progress-container {
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
    margin-top: 8px;
}

#dd-word-progress {
    background: #3498db;
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
}

#dd-word-progress-label {
    font-size: 12px;
    margin-top: 4px;
    text-align: right;
    color: #555;
}
#ddwc-meta-box-stats p {
    margin: 4px 0;
    font-size: 13px;
}
.ddwc-goal-bar-wrapper {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    overflow: hidden;
}
#ddwc-goal-bar {
    height: 100%;
    background: linear-gradient(to right, #00c853, #64dd17);
    width: 0%;
    transition: width 0.3s ease;
}
