/* ═══════════════════════════════════════════════
   Havadurumu Dikey Widget — Vertical Weather Card
   ═══════════════════════════════════════════════ */

.hd-dikey {
    background: linear-gradient(180deg, #0f172a 0%, #131c33 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 18px;
    width: 100%;
    max-width: var(--sidebar-width);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

/* Ambient glow */
.hd-dikey::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Header ─── */
.hd-dikey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hd-dikey-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hd-dikey-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.5px;
}

.hd-dikey-pulse {
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    animation: hdPulse 2s ease-in-out infinite;
}

@keyframes hdPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
}

/* ─── Loading ─── */
.hd-dikey-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.hd-dikey-loading i {
    font-size: 20px;
    color: var(--accent-blue);
}

/* ─── Body Content ─── */
.hd-dikey-icon {
    text-align: center;
    font-size: 42px;
    margin-bottom: 4px;
    line-height: 1;
}

.hd-dikey-city {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1px;
    letter-spacing: -0.5px;
}

.hd-dikey-city a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hd-dikey-city a:hover {
    color: var(--accent-blue);
}

.hd-dikey-city a:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.hd-dikey-desc {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

/* Sıcaklık */
.hd-dikey-temp {
    text-align: center;
    margin-bottom: 2px;
}

.hd-dikey-temp-value {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text-primary);
}

.hd-dikey-temp-unit {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-secondary);
    vertical-align: 18px;
    margin-left: 1px;
}

.hd-dikey-feels {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hd-dikey-feels span {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ─── İstatistik Grid ─── */
.hd-dikey-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.hd-dikey-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.hd-dikey-stat:hover {
    background: rgba(255, 255, 255, 0.07);
}

.hd-dikey-stat-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hd-dikey-stat-label i {
    font-size: 11px;
    color: var(--accent-blue);
}

.hd-dikey-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ─── Sunrise / Sunset Footer ─── */
.hd-dikey-sun {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

.hd-dikey-sun-item {
    flex: 1;
    text-align: center;
}

.hd-dikey-sun-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-dikey-sun-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.hd-dikey-sun-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* ─── Error State ─── */
.hd-dikey-error {
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.hd-dikey-error i {
    display: block;
    font-size: 24px;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hd-dikey {
        max-width: 100%;
    }
}