/* Tenant Header Styles - Shared across all tenant pages */

/* User Menu Dropdown */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-menu .user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
}

.user-menu.open .user-dropdown {
    display: block;
}

.user-menu .user-dropdown .user-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.user-menu .user-dropdown .user-dropdown-name {
    font-weight: 600;
    color: #1a2a3a;
    font-size: 14px;
}

.user-menu .user-dropdown a.user-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #374151;
    background-color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.15s;
}

.user-menu .user-dropdown a.user-dropdown-item:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.user-menu .user-dropdown a.user-dropdown-item.danger {
    color: #dc2626;
}

.user-menu .user-dropdown a.user-dropdown-item.danger:hover {
    background-color: #fef2f2;
}

.user-menu .user-dropdown .user-dropdown-version {
    display: block;
    padding: 10px 16px;
    color: #374151;
    font-size: 14px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* User Avatar */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

/* User Name */
.user-name {
    margin-left: 8px;
    color: white;
    font-size: 14px;
}

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: linear-gradient(135deg, var(--steel-blue-dark, #4a6a8a) 0%, var(--steel-blue-medium, #6a8aaa) 100%);
    height: 96px;
    border-radius: 0 0 24px 24px;
    position: relative;
}

/* Curved corner cutouts */
.app-header::before,
.app-header::after {
    content: '';
    position: absolute;
    bottom: -24px;
    width: 24px;
    height: 24px;
    z-index: 101;
}

.app-header::before {
    left: 0;
    background: radial-gradient(circle at top left, transparent 24px, var(--background, #ffffff) 24px);
}

.app-header::after {
    right: 0;
    background: radial-gradient(circle at top right, transparent 24px, var(--background, #ffffff) 24px);
}

.app-header-logo {
    height: 60px;
    max-height: 100%;
    object-fit: contain;
}

.app-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.app-header-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.app-header-nav a:hover {
    color: white;
}

.app-header-nav a.active {
    color: white;
    font-weight: 600;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.nav-coming-soon {
    cursor: default;
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 12px 24px;
    background: var(--off-white, #f8f9fa);
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--steel-blue-dark, #4a6a8a);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-muted, #6b7280);
    margin: 0 8px;
}

.breadcrumb .current {
    color: var(--text-primary, #1a2a3a);
    font-weight: 500;
}
