*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #4caf50;
    --green-light: #81c784;
    --green-dark: #2e7d32;
    --blue: #1976d2;
    --blue-light: #64b5f6;
    --orange: #ff9800;
    --red: #e53935;
    --yellow: #fdd835;
    --tab-active: #90caf9;
    --tab-bg: #e0e0e0;
    --bg: #f5f5f5;
    --white: #ffffff;
    --text: #212121;
    --text2: #555;
    --border: #ccc;
    --radius: 4px;
    --font: 'DM Sans', sans-serif;
    --heat-none: rgba(255,255,255,0.0);
    --heat-green: rgba(76,175,80,0.55);
    --heat-yellow: rgba(253,216,53,0.6);
    --heat-orange: rgba(255,152,0,0.65);
    --heat-red: rgba(229,57,53,0.72);
}

body {
    font-family: var(--font);
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 24px 16px;
}

.phone {
    width: 390px;
    height: 844px;
    background: var(--white);
    border-radius: 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28), inset 0 0 0 2px #bbb;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.notch {
    width: 100%;
    height: 36px;
    background: #111;
    border-radius: 48px 48px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.notch-pill { width: 120px; height: 10px; background: #000; border-radius: 10px; }

/* Auf echten Mobilgeräten: fake Phone-Rahmen weglassen, App füllt den ganzen Screen */
@media (max-width: 480px) {
    body {
        padding: 0;
        background: var(--white);
        align-items: stretch;
    }
    .phone {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }
    .notch { display: none; }
}
.status-bar {
    position: absolute;
    top: 8px; left: 20px; right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #fff;
    font-family: var(--font);
}

.screen {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* TAB CONTENT */
.tab-content { display: none; flex: 1; overflow: hidden; flex-direction: column; }
.tab-content.active { display: flex; }

/* ── BOTTOM NAV – floating ── */
.bottom-nav {
    position: absolute;
    bottom: 22px;
    left: 16px;
    right: 16px;
    display: flex;
    border-radius: 6px;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    z-index: 100;
    overflow: hidden;
}
.nav-btn {
    flex: 1;
    padding: 14px 0 10px;
    font-size: 14px;
    font-family: var(--font);
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text2);
    transition: background 0.15s, color 0.15s;
}
.nav-btn.active { background: rgba(144,202,249,0.55); color: #0d47a1; }

/* ── HEATMAP TAB ── */
.map-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #e8e0d8;
}

.map-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.routes-map-pan {
    position: absolute;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.routes-map-pan:active { cursor: grabbing; }

/* Heatmap images */
.heatmap-images {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.heatmap-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.heatmap-img.active { opacity: 1; }

.weather-panel {
    position: absolute;
    top: 24px; left: 10px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12px;
    max-width: 260px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}
.weather-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.weather-panel-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.legend-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--text2);
    padding: 0 0 0 8px;
    line-height: 1;
    transition: opacity 0.15s;
}
.legend-toggle:hover { opacity: 0.6; }
.legend-body {
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.25s ease;
}
.legend-body.collapsed { max-height: 0; }
.weather-panel h4 { font-size: 11px; font-weight: 600; color: var(--text2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.legend-row { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.legend-dot { width: 14px; height: 14px; border-radius: 2px; flex-shrink: 0; }
.weather-info { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee; font-size: 12px; line-height: 1.7; }
.weather-info strong { font-weight: 600; }

.compass {
    position: absolute;
    top: 24px;
    right: 10px;
    z-index: 10;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}

.map-icon {
    position: absolute;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 5;
    cursor: pointer;
}
.map-icon.fountain { background: #64b5f6; border: 2px solid #1976d2; }
.map-icon.shade { background: #a5d6a7; border: 2px solid #388e3c; }
.map-icon.danger { background: #ffcc02; border: 2px solid #f57f17; }
.map-icon.hot-danger { background: #ef9a9a; border: 2px solid #c62828; }

/* ── Time slider – same frosted style as nav ── */
.time-slider {
    position: absolute;
    bottom: 72px;
    left: 16px;
    right: 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 10px 14px 10px;
    font-size: 11px;
    z-index: 10;
}
.time-slider-top {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.date-badge {
    font-size: 11px;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 3px 9px;
    font-family: 'DM Mono', monospace;
}
.date-cal-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    opacity: 0.55;
    transition: opacity 0.15s;
    margin-left: 4px;
}
.date-cal-btn:hover { opacity: 1; }

/* Custom date picker popup */
.datepicker-popup {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0; right: 0;
    background: rgba(248,248,248,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 6px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    padding: 10px 12px;
    display: none;
    z-index: 50;
}
.datepicker-popup.open { display: block; }
.dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
}
.dp-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 6px;
    color: var(--text);
}
.dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 9px;
    color: var(--text2);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.dp-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.1s;
}
.dp-day:hover:not(.dp-empty) { background: rgba(25,118,210,0.12); }
.dp-day.dp-selected { background: var(--blue); color: white; }
.dp-day.dp-empty { cursor: default; }

/* Slider track wrapper */
.slider-track-wrapper {
    position: relative;
    padding-top: 22px; /* room for the floating time label above */
    padding-bottom: 2px;
}

/* Floating selected-time label, positioned above the thumb by JS */
.thumb-time-label {
    position: absolute;
    top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    font-family: 'DM Mono', monospace;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    z-index: 4;
}

input[type=range]#heatmap-time {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.15);
    outline: none;
    display: block;
}
input[type=range]#heatmap-time::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 4px;
    height: 20px;
    background: #1565c0;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
input[type=range]#heatmap-time::-moz-range-thumb {
    width: 4px;
    height: 20px;
    background: #1565c0;
    cursor: pointer;
    border: none;
}

/* Red "now" dot fixed on track */
.now-dot-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 0 0 1.5px var(--red);
    pointer-events: none;
    z-index: 3;
}

/* Min / max time labels at slider edges */
.time-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 9px;
    color: #888;
    font-family: 'DM Mono', monospace;
}

/* ── ROUTES TAB ── */
.routes-map-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #e8e0d8;
}

/* Routes top nav — same frosted-glass style as bottom nav */
.routes-top-nav {
    position: absolute;
    top: 24px; left: 16px; right: 58px;
    display: flex;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    z-index: 15;
    transition: border-radius 0.2s ease, border-bottom-color 0.2s ease;
}
.routes-top-nav.plan-open {
    border-radius: 6px 6px 0 0;
    border-bottom-color: transparent;
    box-shadow: none;
}
.routes-top-btn {
    flex: 1;
    background: transparent;
    border: none;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--text1);
    padding: 14px 0 10px;
    cursor: pointer;
}
#plan-nav-btn {
    border-right: 1px solid rgba(0,0,0,0.1);
}
.routes-top-nav.plan-open #browse-nav-btn { display: none; }
.routes-top-nav.plan-open #plan-nav-btn { font-weight: 600; color: var(--green-dark); }

/* Plan panel — expands below top nav */
.plan-panel {
    position: absolute;
    top: 62px; left: 16px; right: 58px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.55);
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 10px 12px 8px;
    z-index: 14;
    display: none;
}
.plan-panel.open { display: block; }

/* Combined date/time field */
.plan-dt-group { position: relative; display: flex; align-items: center; gap: 3px; }
.plan-dt-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 5px;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    background: #fafafa;
}
.plan-dt-icon { background: none; border: none; font-size: 13px; cursor: pointer; padding: 0; line-height: 1; flex-shrink: 0; }

/* Combined date+time picker popup */
.plan-dp-popup {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 100;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    padding: 10px;
    display: none;
    width: 200px;
}
.plan-dp-popup.open { display: block; }
.plan-dp-time {
    border-top: 1px solid #eee;
    margin-top: 8px;
    padding-top: 8px;
}
.tp-columns { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.tp-col { flex: 1; max-width: 52px; }
.tp-sep { font-size: 14px; font-weight: 600; color: #555; padding-top: 20px; }
.tp-label { font-size: 9px; text-align: center; color: #aaa; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }
.tp-list { max-height: 80px; overflow-y: auto; scrollbar-width: none; }
.tp-list::-webkit-scrollbar { display: none; }
.tp-item {
    padding: 2px 4px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    font-family: 'DM Mono', monospace;
}
.tp-item:hover { background: #f0f0f0; }
.tp-item.tp-selected { background: var(--green-dark); color: white; }

/* Dogs selected button */
.plan-dogs-btn {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 11px;
    font-family: var(--font);
    background: #fafafa;
    cursor: pointer;
    text-align: left;
    color: var(--text1);
}
.plan-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; }
.plan-field label { font-size: 10px; color: var(--text2); font-weight: 500; display: block; margin-bottom: 2px; }
.plan-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 12px;
    font-family: var(--font);
    background: #fafafa;
}
.find-btn {
    width: 100%;
    margin-top: 8px;
    background: var(--green-dark);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 7px;
    font-size: 12px;
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
}
.route-results {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 6px;
    display: none;
}
.route-results.open { display: block; }
.route-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.1s;
}
.route-item:last-child { border-bottom: none; }
.route-item:hover { background: #f5f5f5; }
.route-badge {
    width: 26px; height: 26px;
    background: var(--green-dark);
    color: white;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.route-info { flex: 1; }
.route-info strong { font-size: 13px; display: block; }
.route-info span { font-size: 11px; color: var(--text2); }

.record-btn {
    position: absolute;
    bottom: 74px; right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 12px;
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    z-index: 10;
}
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* Browse routes panel */
.browse-panel {
    flex: 1;
    overflow-y: auto;
    background: white;
    display: none;
    flex-direction: column;
}
.browse-panel.open { display: flex; }
.browse-header {
    padding: 14px 16px 8px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.browse-header h3 { font-size: 16px; font-weight: 600; flex: 1; }
.back-btn {
    background: none; border: none; cursor: pointer;
    font-size: 20px; color: var(--text); padding: 0 4px;
}
.route-tabs { display: flex; border-bottom: 1px solid #eee; }
.route-tab {
    flex: 1; padding: 10px; font-size: 13px; font-family: var(--font);
    background: none; border: none; cursor: pointer; font-weight: 500;
    color: var(--text2); border-bottom: 2px solid transparent;
}
.route-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.browse-search {
    margin: 10px 16px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px; font-size: 13px; font-family: var(--font);
    width: calc(100% - 32px);
}
.filter-btn {
    margin: 0 16px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 14px; font-size: 13px; font-family: var(--font);
    background: white; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.community-route {
    display: flex; align-items: flex-start;
    gap: 12px; padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer; transition: background 0.1s;
}
.community-route:hover { background: #f9f9f9; }
.cr-icon {
    width: 34px; height: 38px;
    background: var(--green-dark);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    flex-shrink: 0;
}
.cr-info strong { font-size: 14px; display: block; }
.cr-info span { font-size: 12px; color: var(--text2); }
.recommend-badge {
    font-size: 10px; background: #ffd54f; color: #5d4037;
    border-radius: 3px; padding: 1px 6px; font-weight: 600; margin-left: 6px;
}
.temp-slider-bar {
    margin: auto 16px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 14px;
}
.temp-slider-bar label { font-size: 11px; color: var(--text2); display: block; text-align: center; margin-top: 4px; }
.temp-range-row { display: flex; align-items: center; gap: 8px; }
.temp-range-row span { font-size: 11px; font-weight: 600; }
.temp-range-row span:first-child { color: var(--green-dark); }
.temp-range-row span:last-child { color: var(--red); }
input[type=range].temp-range { flex: 1; accent-color: #e57373; }

/* Route detail */
.route-detail {
    flex: 1; overflow-y: auto; background: white;
    display: none; flex-direction: column;
}
.route-detail.open { display: flex; }
.detail-header {
    padding: 12px 16px 8px;
    border-bottom: 1px solid #eee;
    display: flex; align-items: center; gap: 10px;
}
.detail-header h3 { font-size: 15px; font-weight: 600; flex: 1; }
.detail-body { padding: 14px 16px; }
.detail-meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.detail-meta-left p { font-size: 13px; margin-bottom: 4px; color: var(--text); }
.stars { color: #ff9800; font-size: 16px; }
.creator-box { text-align: center; }
.creator-avatar {
    width: 44px; height: 44px; background: #e0e0e0;
    border-radius: 50%; margin: 0 auto 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.creator-box span { font-size: 12px; }
.desc-box { border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: 12px; line-height: 1.6; color: var(--text); margin-bottom: 12px; background: #fafafa; }
.detail-btns { display: flex; gap: 8px; margin-bottom: 16px; }
.detail-btn {
    flex: 1; padding: 8px; font-size: 12px; font-family: var(--font);
    border: 1px solid #ccc; border-radius: 4px; background: white;
    cursor: pointer; font-weight: 500;
}
.comments-section h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.comment { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f0f0; }
.comment-avatar { width: 36px; height: 36px; background: #e0e0e0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.comment-body { font-size: 12px; line-height: 1.6; }
.comment-name { font-size: 11px; font-weight: 600; margin-bottom: 2px; }

/* Dog select */
.dog-select-screen {
    flex: 1; display: none; flex-direction: column; background: white;
}
.dog-select-screen.open { display: flex; }
.dog-select-header { padding: 16px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 10px; }
.dog-select-header h3 { font-size: 15px; font-weight: 600; }
.dog-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.dog-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f8bbd0; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.dog-name { font-size: 15px; font-weight: 500; flex: 1; }
.dog-check { width: 22px; height: 22px; border: 1.5px solid #bbb; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.dog-check.checked { background: var(--blue); border-color: var(--blue); color: white; }

/* Profile */
.profile-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 16px 90px;
    overflow-y: auto;
}

/* Shared card base */
.profile-card {
    background: white;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

/* User profile card */
.profile-user-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 16px;
}
.profile-gear {
    position: absolute;
    top: 12px; right: 12px;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
.profile-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #eee;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    margin-bottom: 8px;
}
.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* Dogs card */
.profile-dogs-card { overflow: hidden; }
.dog-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f5f5f5;
}
.dog-paw-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #ffd6e0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.dog-list-name { font-size: 14px; font-weight: 500; color: var(--text); }
.add-dog-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
}
.add-dog-plus {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px dashed #bbb;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: #bbb;
    flex-shrink: 0;
}
.add-dog-text { font-size: 13px; color: #888; }

/* Menu items */
.profile-menu-item {
    background: white;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.menu-label { font-size: 13px; font-weight: 500; color: var(--text); }
.menu-icon-round {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Dog profile nav buttons */
.dog-nav-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    background: white;
    color: #666;
    border: 1.5px solid #e0e0e0;
    text-align: left;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.dog-nav-btn.active {
    background: var(--nc);
    color: white;
    border-color: var(--nc);
}

/* Dog profile info section */
.dog-section {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 6px;
}
.dog-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 2px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 12px;
}
.dog-info-label { color: var(--text2); font-weight: 500; }
.dog-info-val { color: var(--text); text-align: right; }

/* Add reminder form */
.reminder-field { display: flex; flex-direction: column; gap: 4px; }
.reminder-label { font-size: 10px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.4px; }
.reminder-input {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 12px;
    font-family: var(--font);
    background: #fafafa;
    width: 100%;
}
.day-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.day-btn {
    padding: 5px 8px;
    font-size: 11px;
    font-family: var(--font);
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: white;
    cursor: pointer;
    color: #555;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.day-btn.active { background: var(--green-dark); color: white; border-color: var(--green-dark); }

/* Reminder cards in dog profile */
.reminder-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 2px;
    border-bottom: 1px solid #f5f5f5;
}
.reminder-card:last-child { border-bottom: none; }
.reminder-body { flex: 1; min-width: 0; }
.reminder-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.reminder-name { font-size: 13px; font-weight: 600; color: var(--text); }
.reminder-time { font-size: 12px; font-family: 'DM Mono', monospace; color: var(--text2); }
.reminder-meta { display: flex; justify-content: space-between; font-size: 10px; color: #888; }
.reminder-cat { font-weight: 600; }
.reminder-days { color: #aaa; }
.reminder-edit-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Overlay for planned route on map */
.planned-route-path { display: none; }
.planned-route-path.visible { display: block; }