/* ========= Daily Quests Window ========= */

#daily-quests-window {
    width: 460px;
    min-height: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.dq-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    flex: 1;
}

/* Reset timer strip */
.dq-reset-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.5px;
}

.dq-reset-bar .dq-timer {
    color: #c8a050;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Quest card */
.dq-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 12px 14px;
    border-left: 3px solid var(--dq-color, #9d9d9d);
    transition: background 0.15s;
}

.dq-card:hover {
    background: rgba(255,255,255,0.05);
}

/* Difficulty colors via CSS variable */
.dq-diff-1 { --dq-color: #9d9d9d; }
.dq-diff-2 { --dq-color: #1eff00; }
.dq-diff-3 { --dq-color: #0070dd; }
.dq-diff-4 { --dq-color: #a335ee; }
.dq-diff-5 { --dq-color: #ff8000; }

.dq-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.dq-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #e8d5a8;
    flex: 1;
}

.dq-card-reward {
    font-size: 11px;
    color: #c8a050;
    white-space: nowrap;
    flex-shrink: 0;
}

.dq-card-desc {
    font-size: 11px;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Progress bar */
.dq-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.dq-progress-track {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
}

.dq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dq-color, #9d9d9d), color-mix(in srgb, var(--dq-color, #9d9d9d) 60%, white));
    border-radius: 3px;
    transition: width 0.3s ease;
    min-width: 2px;
}

.dq-progress-text {
    font-size: 11px;
    color: #888;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 44px;
    text-align: right;
}

/* Claim / claimed states */
.dq-claim-btn {
    display: block;
    width: 100%;
    padding: 6px 0;
    background: linear-gradient(135deg, #2d6a2d, #3a8a3a);
    border: 1px solid #4aac4a;
    border-radius: 5px;
    color: #b8f0b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.3px;
}

.dq-claim-btn:hover {
    background: linear-gradient(135deg, #3a8a3a, #4aac4a);
    color: #e0ffe0;
}

.dq-claimed-badge {
    display: block;
    width: 100%;
    padding: 5px 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: #556655;
    font-size: 11px;
    text-align: center;
    cursor: default;
}

/* Empty state */
.dq-empty {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 30px 0;
}
