/* ============================================================
   Su tüketimi kartı + ekleme penceresi
   ============================================================ */

.water-card {
    margin-top: 12px; padding: 16px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.wc-title {
    font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--water);
}

.wc-row { display: flex; align-items: center; gap: 6px; margin-top: 12px; }

.wc-drop { color: var(--water); display: grid; place-content: center; }
.wc-drop svg { width: 20px; height: 20px; }

.wc-now { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-left: 2px; }
.wc-goal { font-size: 14px; color: var(--text-mute); font-weight: 600; align-self: flex-end; margin-bottom: 4px; }

.wc-pct {
    margin-left: 8px; padding: 4px 10px; border-radius: var(--r-pill);
    background: rgba(76, 201, 240, .14); color: var(--water);
    font-size: 12px; font-weight: 700; white-space: nowrap;
}

.wc-minus, .wc-plus {
    height: 42px; border-radius: var(--r); font-size: 22px; font-weight: 700;
    display: grid; place-content: center; transition: transform .1s ease;
}
.wc-minus {
    margin-left: auto; width: 46px;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim);
}
.wc-minus:disabled { opacity: .35; }
.wc-plus {
    width: 74px; background: #3B82F6; border: 0; color: #fff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, .3);
}
.wc-minus:active, .wc-plus:active { transform: scale(.95); }

.wc-bar {
    margin-top: 14px; height: 6px; border-radius: var(--r-pill);
    background: var(--surface-2); overflow: hidden;
}
.wc-fill {
    height: 100%; border-radius: var(--r-pill);
    background: linear-gradient(90deg, #3B82F6, var(--water));
    transition: width .45s cubic-bezier(.3, 1, .4, 1);
}

/* ---- ekleme penceresi ---- */

.wpick {
    position: fixed; left: 16px; right: 16px; top: 50%; z-index: 71;
    transform: translateY(-50%);
    max-width: 440px; margin: 0 auto; padding: 18px;
    background: var(--bg-elev); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow);
    animation: popIn .2s cubic-bezier(.25, .9, .35, 1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(-46%) scale(.97); } to { opacity: 1; transform: translateY(-50%) scale(1); } }

.wpick-head { display: flex; align-items: center; margin-bottom: 14px; }
.wpick-head h3 { flex: 1; font-size: 19px; font-weight: 800; }
.wpick-head button {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim);
}

.wpick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wpick-grid button {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 8px; border-radius: var(--r);
    background: rgba(59, 130, 246, .08); border: 1px solid rgba(59, 130, 246, .28);
    transition: transform .1s ease, background .15s ease;
}
.wpick-grid button:active { transform: scale(.97); background: rgba(59, 130, 246, .18); }
.wpick-grid .ic { color: #60A5FA; display: grid; place-content: center; height: 30px; }
.wpick-grid .ic svg { width: 26px; height: 26px; }
.wpick-grid b { font-size: 15px; font-weight: 700; }
.wpick-grid span:last-child { font-size: 12.5px; color: var(--text-mute); }

.wpick-custom {
    display: flex; align-items: center; gap: 10px;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.wpick-custom input {
    flex: 1; min-width: 0; height: 46px; padding: 0 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    color: var(--text); font-size: 16px;
}
.wpick-custom > span { color: var(--text-mute); font-size: 14px; }
.wpick-custom button {
    height: 46px; padding: 0 20px; border-radius: var(--r);
    background: #3B82F6; border: 0; color: #fff; font-size: 15px; font-weight: 700;
}
.wpick-custom button:disabled { opacity: .4; }
