/* ========================================
   DASHBOARD - MUJ UCET - BEM METODIKA
   MOBILE FIRST PRISTUP
   ======================================== */

/* ========================================
   BODY MODIFIKATOR PRO DASHBOARD
   ======================================== */

.body--dashboard {
    background-color: #f8f9fa;
}

.body--dashboard .footer {
    display: none;
}

/* ========================================
   DASHBOARD LAYOUT
   Zakladni layout pro mobil - sloupec
   ======================================== */

.dashboard {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
    width: 100%;
    padding-top: 60px; /* Kompenzace fixed hlavičky */
}

/* ========================================
   MOBILNI HEADER - VIDITELNY NA MOBILU
   ======================================== */

.dashboard__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.dashboard__mobile-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dashboard__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #ede9fe;
    border-radius: 8px;
    cursor: pointer;
    color: #7c3aed;
    transition: all 0.2s ease;
}

.dashboard__menu-toggle:hover {
    background-color: #ddd6fe;
}

.dashboard__menu-toggle svg {
    width: 22px;
    height: 22px;
}

/* ========================================
   OVERLAY - TMAVE POZADI PRI OTEVRENEM MENU
   ======================================== */

.dashboard__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.dashboard__overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========================================
   SIDEBAR - SKRYTE NA MOBILU, VYSOUVACI
   Cisty bily design inspirovany Saanvi
   ======================================== */

.dashboard__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 280px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 110;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.dashboard__sidebar--open {
    transform: translateX(0);
}

/* Header sidebaru - cisty */
.dashboard__sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.dashboard__sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.dashboard__sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    border-radius: 12px;
    color: #64748b;
    transition: all 0.2s ease;
}

.dashboard__sidebar-close:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.dashboard__sidebar-close svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   NAVIGACE V SIDEBARU - CISTY BILY STYL
   ======================================== */

.dashboard__nav {
    flex: 1;
    padding: 16px 12px;
    position: relative;
    z-index: 5;
}

.dashboard__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard__nav-item {
    margin-bottom: 4px;
}

.dashboard__nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dashboard__nav-link:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.dashboard__nav-link--active {
    background-color: #f1f5f9;
    color: #667eea;
}

/* Ikony v navigaci */
.dashboard__nav-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #94a3b8;
}

.dashboard__nav-link:hover .dashboard__nav-icon {
    color: #64748b;
}

.dashboard__nav-link--active .dashboard__nav-icon {
    color: #667eea;
}

/* Badge - cervena pro notifikace */
.dashboard__nav-badge {
    margin-left: auto;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Počet položek v navigaci */
.dashboard__nav-count {
    margin-left: auto;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.dashboard__nav-link--active .dashboard__nav-count {
    background-color: #e0e7ff;
    color: #667eea;
}

/* Kategorie v navigaci */
.dashboard__nav-category {
    padding: 24px 16px 10px;
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
}

.dashboard__nav-category-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

/* ========================================
   CTA BOX V SIDEBARU - CISTY SVETLY STYL
   ======================================== */

.dashboard__cta {
    margin: 24px 12px 20px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvky na pozadí */
.dashboard__cta::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 50%;
}

.dashboard__cta::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 50%;
}

.dashboard__cta-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.dashboard__cta-icon svg {
    width: 28px;
    height: 28px;
}

.dashboard__cta-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    position: relative;
    z-index: 1;
}

.dashboard__cta-text {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.dashboard__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.dashboard__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.dashboard__cta-button svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   HLAVNI OBSAH - MOBILNI STYLY
   ======================================== */

.dashboard__main {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
}

/* ========================================
   UVITANI
   ======================================== */

.dashboard__welcome {
    margin-bottom: 28px;
}

.dashboard__welcome-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.dashboard__welcome-text {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* ========================================
   HLAVICKA STRANKY OBLIBENYCH
   ======================================== */

.dashboard__back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.dashboard__back-link:hover {
    color: #7c3aed;
}

.dashboard__back-link svg {
    width: 16px;
    height: 16px;
}

.dashboard__page-header {
    margin-bottom: 20px;
}

.dashboard__page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.dashboard__page-count {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ========================================
   FILTRY A RAZENI
   ======================================== */

.dashboard__filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard__filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dashboard__filter-tabs::-webkit-scrollbar {
    display: none;
}

.dashboard__filter-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    background-color: #f3f4f6;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.dashboard__filter-tab:hover {
    background-color: #ede9fe;
    color: #7c3aed;
}

.dashboard__filter-tab--active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.dashboard__filter-tab--active:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.dashboard__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard__sort-label {
    font-size: 13px;
    color: #6b7280;
}

.dashboard__sort-select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    transition: all 0.2s ease;
}

.dashboard__sort-select:hover {
    border-color: #c4b5fd;
}

.dashboard__sort-select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ========================================
   PRAZDNY STAV
   ======================================== */

.dashboard__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.dashboard__empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.dashboard__empty-icon svg {
    width: 100%;
    height: 100%;
}

.dashboard__empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.dashboard__empty-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    max-width: 280px;
}

.dashboard__empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dashboard__empty-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/* ========================================
   FULL GRID - PRO STRANKU OBLIBENYCH
   ======================================== */

.dashboard__favorites-grid--full {
    grid-template-columns: repeat(2, 1fr);
}

/* ========================================
   ALERT - UPOZORNENI
   ======================================== */

.dashboard__alert {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard__alert-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #667eea;
}

.dashboard__alert-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-left: 8px;
}

.dashboard__alert-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0ff;
    border-radius: 12px;
    color: #667eea;
}

.dashboard__alert-icon svg {
    width: 22px;
    height: 22px;
}

.dashboard__alert-text {
    min-width: 0;
    flex: 1;
}

.dashboard__alert-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.dashboard__alert-meta {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.dashboard__alert-action {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #667eea;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dashboard__alert-action:hover {
    background-color: #5a67d8;
}

/* ========================================
   SEKCE
   ======================================== */

.dashboard__section {
    margin-bottom: 32px;
}

.dashboard__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.dashboard__section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.dashboard__section-link {
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
    padding: 8px 16px;
    background-color: #f0f0ff;
    border-radius: 8px;
}

.dashboard__section-link:hover {
    background-color: #667eea;
    color: #ffffff;
}

/* ========================================
   GRID PRO OBLIBENE - MOBILE FIRST
   Pouziva originalni karty puppy-card a card--grid
   ======================================== */

.dashboard__favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Karta pro pridani dalsich */
.dashboard__card-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard__card-add:hover {
    border-color: #a78bfa;
    background-color: #f5f3ff;
}

.dashboard__card-add-icon {
    font-size: 32px;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.dashboard__card-add:hover .dashboard__card-add-icon {
    color: #7c3aed;
}

.dashboard__card-add-text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.2s ease;
}

.dashboard__card-add:hover .dashboard__card-add-text {
    color: #7c3aed;
}

/* ========================================
   PUPPY CARD - KARTA STENETE
   Mobile First - Saanvi styl
   ======================================== */

.puppy-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    border: 1px solid #f1f5f9;
}

.puppy-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.puppy-card__image {
    display: block;
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
}

.puppy-card__badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.puppy-card__badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.puppy-card__badge--status {
    background-color: #667eea;
    color: #ffffff;
}

.puppy-card__badge--nadeje {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.puppy-card__badge--mazlicek {
    background-color: #10b981;
}

.puppy-card__badge--available {
    background-color: #10b981;
    color: #ffffff;
}

.puppy-card__badge--reserved {
    background-color: #f59e0b;
    color: #ffffff;
}

.puppy-card__badge--champion {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

/* Srdíčko - oblíbené */
.puppy-card__favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.puppy-card__favorite:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.puppy-card__favorite svg {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.puppy-card__favorite:hover svg {
    color: #ef4444;
}

.puppy-card__favorite--active svg {
    color: #ef4444;
    fill: #ef4444;
}

/* Obsah karty */
.puppy-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.puppy-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.puppy-card__gender {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.puppy-card__gender svg {
    width: 100%;
    height: 100%;
}

.puppy-card__gender--male {
    color: #3b82f6;
}

.puppy-card__gender--female {
    color: #ec4899;
}

.puppy-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.puppy-card__breed {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.puppy-card__breed-name {
    color: #667eea;
}

.puppy-card__separator {
    margin: 0 4px;
    color: #d1d5db;
}

.puppy-card__variety {
    color: #9ca3af;
}

/* Povahový punc */
.puppy-card__temperament {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    white-space: nowrap;
    margin-bottom: 6px;
    width: fit-content;
}

.puppy-card__temperament-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

img.puppy-card__temperament-icon {
    width: 12px;
    height: 12px;
}

.puppy-card__temperament-text {
    font-weight: 500;
}

/* Průzkumník - oranžová */
.puppy-card__temperament--pruzkumnik {
    background-color: #fff7ed;
    color: #ea580c;
    cursor: help;
}

.puppy-card__temperament--pruzkumnik img {
    filter: invert(39%) sepia(95%) saturate(1500%) hue-rotate(360deg) brightness(95%) contrast(95%);
}

/* Mazel - růžová */
.puppy-card__temperament--mazel {
    background-color: #fdf2f8;
    color: #db2777;
    cursor: help;
}

.puppy-card__temperament--mazel img {
    filter: invert(25%) sepia(90%) saturate(2000%) hue-rotate(315deg) brightness(90%) contrast(95%);
}

/* Pohodář - modrá */
.puppy-card__temperament--pohodar {
    background-color: #eff6ff;
    color: #2563eb;
    cursor: help;
}

.puppy-card__temperament--pohodar img {
    filter: invert(30%) sepia(95%) saturate(2000%) hue-rotate(215deg) brightness(95%) contrast(95%);
}

/* Snaživec - zelená */
.puppy-card__temperament--snazivec {
    background-color: #ecfdf5;
    color: #059669;
    cursor: help;
}

.puppy-card__temperament--snazivec img {
    filter: invert(40%) sepia(90%) saturate(800%) hue-rotate(120deg) brightness(90%) contrast(95%);
}

/* Pozorovatel - fialová */
.puppy-card__temperament--pozorovatel {
    background-color: #f5f3ff;
    color: #7c3aed;
    cursor: help;
}

.puppy-card__temperament--pozorovatel img {
    filter: invert(35%) sepia(80%) saturate(2000%) hue-rotate(245deg) brightness(90%) contrast(95%);
}

.puppy-card__details {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.puppy-card__cake-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: invert(45%) sepia(70%) saturate(1500%) hue-rotate(210deg) brightness(90%) contrast(90%);
}

.puppy-card__age {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    background-color: #f8fafc;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.puppy-card__birthdate {
    color: #2c3e50;
    font-weight: 500;
}

.puppy-card__age-separator {
    color: #bdc3c7;
    font-size: 8px;
}

.puppy-card__age-value {
    color: #7f8c8d;
}

.puppy-card__station {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.puppy-card__station-icon {
    width: 14px;
    height: 14px;
    color: #667eea;
    flex-shrink: 0;
}

.puppy-card__station-link {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.puppy-card__station-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

.puppy-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.puppy-card__flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.puppy-card__country {
    font-weight: 500;
    color: #1e293b;
}

.puppy-card__place {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #94a3b8;
}

.puppy-card__place::before {
    content: "•";
    margin-right: 6px;
    color: #cbd5e1;
}

/* Tituly chovného jedince */
.puppy-card__titles {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.puppy-card__title-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 600;
    color: #92400e;
    background-color: #fef3c7;
    border-radius: 4px;
}

/* ========================================
   SKUPINA PODLE DATA PRIDANI
   ======================================== */

/* Label s datem nad první kartou skupiny */
.favorites-card-wrapper {
    position: relative;
    padding-top: 28px;
}

.favorites-card-wrapper__label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    white-space: nowrap;
}

/* Override pro breeding-dog-card v dashboard gridu */
.dashboard__favorites-grid .breeding-dog-card {
    width: 100%;
    flex: none;
}

.puppy-card__button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #667eea;
    background: #f0f0ff;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.puppy-card__button:hover {
    background: #667eea;
    color: #ffffff;
}

/* ========================================
   CARD--GRID - KARTA STANICE
   Mobile First - Saanvi styl
   ======================================== */

.card--grid {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    border: 1px solid #f1f5f9;
}

.card--grid:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card--grid .card__image {
    display: block;
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    gap: 6px;
}

.card--grid .card__badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.card--grid .card__badge--puppies {
    background-color: #10b981;
    color: #ffffff;
}

.card--grid .card__badge--expected {
    background-color: #f59e0b;
    color: #ffffff;
}

.card--grid .card__badge--new {
    background-color: #ff6b6b;
    color: #ffffff;
}

.card--grid .card__badge--updated {
    background-color: #3498db;
    color: #ffffff;
}

/* Srdíčko */
.card__favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card__favorite:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.card__favorite svg {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.card__favorite:hover svg {
    color: #ef4444;
}

.card__favorite--active svg {
    color: #ef4444;
    fill: #ef4444;
}

/* Obsah karty stanice */
.card--grid .card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card--grid .card__header {
    margin-bottom: 6px;
}

.card--grid .card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card--grid .card__rating {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.card--grid .card__breed {
    font-size: 13px;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.card--grid .card__breed .breed-item {
    display: block;
    color: #667eea;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.card--grid .card__breed .breed-item::before {
    content: '•';
    margin-right: 8px;
    color: #667eea;
}

.card--grid .card__breed .breed-item:hover {
    color: #5568d3;
    text-decoration: underline;
}

.card--grid .card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.card--grid .card__flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.card--grid .card__country {
    font-weight: 500;
    color: #1e293b;
}

.card--grid .card__place {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #94a3b8;
}

.card--grid .card__place::before {
    content: "•";
    margin-right: 6px;
    color: #cbd5e1;
}

.card--grid .card__button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #667eea;
    background: #f0f0ff;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.card--grid .card__button:hover {
    background: #667eea;
    color: #ffffff;
}

/* ========================================
   RYCHLE AKCE - MOBILNI STYLY (SLOUPEC)
   ======================================== */

.dashboard__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard__action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard__action:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dashboard__action-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0ff;
    border-radius: 12px;
    color: #667eea;
}

.dashboard__action-icon svg {
    width: 22px;
    height: 22px;
}

.dashboard__action-text {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

.dashboard__action:hover .dashboard__action-text {
    color: #667eea;
}

/* ========================================
   TABLET (768px+) - MEDIA QUERY
   ======================================== */

@media (min-width: 768px) {
    .dashboard__main {
        padding: 28px 32px;
    }

    .dashboard__welcome-title {
        font-size: 26px;
    }

    .dashboard__page-title {
        font-size: 26px;
    }

    /* Filtry v radku */
    .dashboard__filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Prázdný stav */
    .dashboard__empty {
        padding: 64px 32px;
    }

    .dashboard__empty-icon {
        width: 80px;
        height: 80px;
    }

    .dashboard__empty-title {
        font-size: 20px;
    }

    .dashboard__empty-text {
        font-size: 15px;
        max-width: 360px;
    }

    /* Alert v radku */
    .dashboard__alert {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 18px 20px;
    }

    .dashboard__alert-content {
        flex: 1;
    }

    .dashboard__alert-action {
        width: auto;
        flex-shrink: 0;
    }

    /* 3 karty vedle sebe */
    .dashboard__favorites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .dashboard__favorites-grid--full {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Vetsi vyska obrazku */
    .puppy-card__image,
    .card--grid .card__image {
        height: 160px;
    }

    .puppy-card__content,
    .card--grid .card__content {
        padding: 18px;
    }

    .puppy-card__title,
    .card--grid .card__title {
        font-size: 16px;
    }

    .puppy-card__breed,
    .card--grid .card__breed {
        font-size: 14px;
    }

    .puppy-card__button,
    .card--grid .card__button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .puppy-card__location,
    .card--grid .card__location {
        font-size: 13px;
    }

    .puppy-card__flag,
    .card--grid .card__flag {
        width: 20px;
        height: 15px;
    }

    .puppy-card__age {
        font-size: 13px;
    }

    .puppy-card__cake-icon {
        width: 17px;
        height: 17px;
    }

    .puppy-card__station-icon {
        width: 15px;
        height: 15px;
    }

    .puppy-card__station-link {
        font-size: 14px;
    }

    .dashboard__card-add {
        min-height: 340px;
    }

    /* Rychle akce v radku */
    .dashboard__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dashboard__action {
        flex: 1;
        min-width: 200px;
    }
}

/* ========================================
   DESKTOP (1024px+) - SIDEBAR VIDITELNY
   ======================================== */

@media (min-width: 1024px) {
    /* Skryt mobilni prvky */
    .dashboard__mobile-header {
        display: none;
    }

    .dashboard__overlay {
        display: none;
    }

    /* Layout zmena na radek */
    .dashboard {
        flex-direction: row;
    }

    /* Sidebar - vzdy viditelny, cisty bily design */
    .dashboard__sidebar {
        position: static;
        top: auto;
        left: auto;
        width: 280px;
        height: auto;
        transform: none;
        border-right: 1px solid #f1f5f9;
        flex-shrink: 0;
        overflow-y: visible;
        box-shadow: none;
    }

    .dashboard__sidebar-close {
        display: none;
    }

    /* Navigace nema roztahovat prostor */
    .dashboard__nav {
        flex: none;
    }

    .dashboard__nav-link {
        padding: 14px 18px;
    }

    .dashboard__nav-icon {
        width: 22px;
        height: 22px;
    }

    /* Hlavni obsah */
    .dashboard__main {
        flex: 1;
        padding: 36px 48px;
        min-width: 0;
    }

    .dashboard__welcome-title {
        font-size: 30px;
    }

    .dashboard__section-title {
        font-size: 22px;
    }

    .dashboard__section-link {
        font-size: 14px;
        padding: 10px 20px;
    }

    .dashboard__favorites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Desktop velikosti */
    .puppy-card__image,
    .card--grid .card__image {
        height: 180px;
    }

    .puppy-card__content,
    .card--grid .card__content {
        padding: 20px;
    }

    .puppy-card__title,
    .card--grid .card__title {
        font-size: 17px;
    }

    .puppy-card__breed,
    .card--grid .card__breed {
        font-size: 14px;
    }

    .puppy-card__location,
    .card--grid .card__location {
        font-size: 14px;
    }

    .puppy-card__flag,
    .card--grid .card__flag {
        width: 20px;
        height: 15px;
    }

    .puppy-card__age {
        font-size: 13px;
        padding: 6px 12px;
    }

    .puppy-card__cake-icon {
        width: 18px;
        height: 18px;
    }

    .puppy-card__station-icon {
        width: 16px;
        height: 16px;
    }

    .puppy-card__station-link {
        font-size: 14px;
    }

    .dashboard__card-add {
        min-height: 380px;
    }

    .dashboard__page-title {
        font-size: 30px;
    }

    .dashboard__favorites-grid--full {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   VELKY DESKTOP (1400px+)
   ======================================== */

@media (min-width: 1400px) {
    .dashboard__sidebar {
        width: 300px;
    }

    .dashboard__main {
        padding: 40px 64px;
    }

    .dashboard__nav-link {
        padding: 15px 20px;
        font-size: 15px;
    }

    .dashboard__welcome-title {
        font-size: 34px;
    }

    .dashboard__page-title {
        font-size: 34px;
    }

    /* 4 karty vedle sebe */
    .dashboard__favorites-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .dashboard__favorites-grid--full {
        grid-template-columns: repeat(4, 1fr);
    }

    .puppy-card__image,
    .card--grid .card__image {
        height: 200px;
    }

    .puppy-card__content,
    .card--grid .card__content {
        padding: 20px;
    }

    .puppy-card__title,
    .card--grid .card__title {
        font-size: 17px;
    }

    .puppy-card__button,
    .card--grid .card__button {
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* ========================================
   MOJE RECENZE - MOBILE FIRST
   ======================================== */

/* Statistiky */
.my-reviews__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.my-reviews__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 100px;
}

.my-reviews__stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.my-reviews__stat-number--published {
    color: #10b981;
}

.my-reviews__stat-number--pending {
    color: #f59e0b;
}

.my-reviews__stat-label {
    font-size: 12px;
    color: #6b7280;
}

/* Seznam recenzí */
.my-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Karta recenze */
.my-review {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.my-review:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.my-review--pending {
    border-left: 4px solid #f59e0b;
}

/* Hlavička recenze */
.my-review__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.my-review__station-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.my-review__station-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.my-review__station-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.my-review__station-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.my-review__station-link:hover .my-review__station-name {
    color: #667eea;
}

.my-review__date {
    font-size: 12px;
    color: #9ca3af;
}

.my-review__header-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.my-review__rating {
    display: flex;
    gap: 2px;
}

.my-review__star {
    width: 16px;
    height: 16px;
}

.my-review__star--filled {
    fill: #f59e0b;
}

.my-review__star--empty {
    fill: #d1d5db;
}

.my-review__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.my-review__status svg {
    width: 12px;
    height: 12px;
}

.my-review__status--pending {
    background-color: #fef3c7;
    color: #d97706;
}

/* Obsah recenze */
.my-review__content {
    margin-bottom: 12px;
}

.my-review__text {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* Odkaz na psa */
.my-review__dog {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
}

.my-review__dog-icon {
    width: 16px;
    height: 16px;
    fill: #667eea;
    flex-shrink: 0;
}

.my-review__dog-link {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.my-review__dog-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Odpověď chovatele */
.my-review__reply {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8f5ff;
    border-left: 3px solid #8b5cf6;
    border-radius: 0 8px 8px 0;
}

.my-review__reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 6px;
}

.my-review__reply-label {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
}

.my-review__reply-date {
    font-size: 11px;
    color: #9ca3af;
}

.my-review__reply-text {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

/* Akce */
.my-review__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.my-review__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    font-family: inherit;
}

.my-review__action svg {
    width: 14px;
    height: 14px;
}

.my-review__action--view {
    background-color: #f3f4f6;
    color: #4b5563;
}

.my-review__action--view:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.my-review__action--edit {
    background-color: #eff6ff;
    color: #3b82f6;
}

.my-review__action--edit:hover {
    background-color: #dbeafe;
    color: #2563eb;
}

.my-review__action--delete {
    background-color: #fef2f2;
    color: #ef4444;
}

.my-review__action--delete:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

/* ========================================
   MOJE RECENZE - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .my-reviews__stats {
        gap: 16px;
    }

    .my-reviews__stat {
        padding: 20px 32px;
    }

    .my-reviews__stat-number {
        font-size: 32px;
    }

    .my-reviews__stat-label {
        font-size: 13px;
    }

    .my-review {
        padding: 20px;
    }

    .my-review__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .my-review__header-right {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .my-review__station-image {
        width: 56px;
        height: 56px;
    }

    .my-review__station-name {
        font-size: 16px;
    }

    .my-review__text {
        font-size: 15px;
    }

    .my-review__star {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   MOJE RECENZE - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .my-reviews__stats {
        gap: 20px;
        margin-bottom: 32px;
    }

    .my-reviews__stat {
        padding: 24px 40px;
    }

    .my-reviews__stat-number {
        font-size: 36px;
    }

    .my-reviews__stat-label {
        font-size: 14px;
    }

    .my-reviews__list {
        gap: 20px;
    }

    .my-review {
        padding: 24px;
    }

    .my-review__station-image {
        width: 60px;
        height: 60px;
    }

    .my-review__station-name {
        font-size: 17px;
    }

    .my-review__date {
        font-size: 13px;
    }

    .my-review__text {
        font-size: 15px;
    }

    .my-review__reply {
        padding: 16px;
    }

    .my-review__reply-text {
        font-size: 14px;
    }

    .my-review__action {
        padding: 8px 14px;
        font-size: 13px;
    }

    .my-review__action svg {
        width: 15px;
        height: 15px;
    }
}

/* ========================================
   HISTORIE PROHLÍŽENÍ - MOBILE FIRST
   ======================================== */

/* Meta řádek pod nadpisem */
.dashboard__page-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.dashboard__page-count {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
}

/* Tlačítko smazat vše - moderní styl */
.history__clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.history__clear-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.history__clear-btn svg {
    width: 14px;
    height: 14px;
}

/* Filtry */
.history__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.history__filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.history__filter:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.history__filter--active {
    background-color: #667eea;
    color: #ffffff;
}

.history__filter--active:hover {
    background-color: #5a67d8;
    color: #ffffff;
}

.history__filter svg {
    width: 14px;
    height: 14px;
}

.history__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.history__filter--active .history__filter-count {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Prázdný stav */
.history__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.history__empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.history__empty-icon svg {
    width: 100%;
    height: 100%;
}

.history__empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    margin: 0 0 8px 0;
}

.history__empty-text {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Seznam historie */
.history__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Skupina podle data */
.history__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history__group-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.history__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Položka historie */
.history__item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    overflow: hidden;
}

.history__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.history__item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

/* Obrázek */
.history__item-image {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.history__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history__item-type {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.history__item-type svg {
    width: 12px;
    height: 12px;
}

.history__item-type--station {
    color: #667eea;
}

.history__item-type--puppy {
    color: #f59e0b;
}

.history__item-type--breeding {
    color: #10b981;
}

/* Info */
.history__item-info {
    flex: 1;
    min-width: 0;
}

.history__item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.history__item:hover .history__item-name {
    color: #667eea;
}

.history__item-breed {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history__item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.history__item-location,
.history__item-station {
    display: flex;
    align-items: center;
    gap: 4px;
}

.history__item-location svg {
    width: 12px;
    height: 12px;
}

.history__item-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f59e0b;
}

.history__item-rating svg {
    width: 12px;
    height: 12px;
}

.history__item-age {
    color: #6b7280;
}

.history__item-titles {
    color: #10b981;
    font-weight: 500;
}

.history__item-gender {
    font-weight: 600;
}

.history__item-gender--male {
    color: #3b82f6;
}

.history__item-gender--female {
    color: #ec4899;
}

/* Pravá část */
.history__item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.history__item-time {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}

.history__item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.history__item-remove:hover {
    background-color: #fef2f2;
    color: #ef4444;
}

.history__item-remove svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   HISTORIE PROHLÍŽENÍ - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .history__filters {
        gap: 10px;
        margin-bottom: 28px;
    }

    .history__filter {
        padding: 10px 18px;
        font-size: 14px;
    }

    .history__filter svg {
        width: 16px;
        height: 16px;
    }

    .history__list {
        gap: 28px;
    }

    .history__group-title {
        font-size: 14px;
    }

    .history__items {
        gap: 10px;
    }

    .history__item-link {
        padding: 16px;
        gap: 16px;
    }

    .history__item-image {
        width: 64px;
        height: 64px;
    }

    .history__item-type {
        width: 26px;
        height: 26px;
    }

    .history__item-type svg {
        width: 14px;
        height: 14px;
    }

    .history__item-name {
        font-size: 16px;
    }

    .history__item-breed {
        font-size: 14px;
    }

    .history__item-meta {
        font-size: 13px;
    }

    .history__item-time {
        font-size: 13px;
    }

    .history__item-remove {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   HISTORIE PROHLÍŽENÍ - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .history__filters {
        gap: 12px;
        margin-bottom: 32px;
    }

    .history__list {
        gap: 32px;
    }

    .history__items {
        gap: 12px;
    }

    .history__item-link {
        padding: 18px 20px;
    }

    .history__item-image {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .history__item-type {
        width: 28px;
        height: 28px;
        bottom: -5px;
        right: -5px;
    }

    .history__item-type svg {
        width: 15px;
        height: 15px;
    }

    .history__item-name {
        font-size: 17px;
    }

    .history__item-breed {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .history__item-meta {
        font-size: 13px;
        gap: 12px;
    }

    .history__item-time {
        font-size: 13px;
    }
}
