/* shared/header.css */

.admin-header {
    background: #181828;
    border-bottom: 1px solid #2a2a3a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- UŽIVATELSKÝ BADGE (PILL) --- */
.user-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none !important; /* Žádné podtržení odkazu */
    transition: all 0.2s ease;
}

.user-badge i {
    color: #667eea;
    margin-right: 8px;
}

/* Pokud je to odkaz (má profil) */
.user-badge-link {
    cursor: pointer;
}

.user-badge-link:hover {
    background: rgba(255, 255, 255, 0.25); /* Výraznější hover */
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

/* Pokud to NENÍ odkaz (nemá profil), hover nic nedělá */
div.user-badge:hover {
    cursor: default;
    background: rgba(255, 255, 255, 0.1); /* Zůstane stejné */
}

/* --- TLAČÍTKA --- */
.btn-custom {
    border-radius: 50px !important;
    font-size: 0.9rem;
    padding: 6px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff !important;
    background: transparent;
}
.btn-outline-light-custom:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.btn-danger-custom {
    background: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff !important;
}
.btn-danger-custom:hover { opacity: 0.9; }

.btn-success-custom {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-success-custom:hover { opacity: 0.9; }

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
}
.btn-primary-custom:hover { opacity: 0.9; }

.header-actions { display: flex; align-items: center; }

/* Mobilní menu */
.mobile-menu-btn {
    display: none; 
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none; border-radius: 50%; width: 40px; height: 40px;
    color: #fff; font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 768px) {
    .header-actions { display: none !important; }
    .mobile-menu-btn { display: inline-flex !important; }
}

.mobile-menu-modal {
    display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.9); justify-content: center; align-items: flex-start; padding-top: 20vh;
}
.mobile-menu-modal.active { display: flex; }
.mobile-menu-box {
    background: #181828; border-radius: 18px; padding: 2rem; width: 90%; max-width: 320px;
    border: 1px solid #333; display: flex; flex-direction: column; gap: 1rem;
}
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #333;}
.mobile-menu-close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }