/* ==========================================================================
   LAYOUT COMPONENTS
   Migrated from Pages/Shared/_ModernLayout.cshtml <style> block (ADR-004)
   ========================================================================== */

/* Help Panel */
.help-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.help-panel-content {
    background: var(--lux-surface, white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.help-panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-panel-header h2 { 
    margin: 0; 
    font-size: 18px; 
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.help-panel-body { 
    padding: 24px; 
}

.help-section { 
    margin-bottom: 24px; 
}

.help-section h3 { 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 8px; 
}

.help-section ul { 
    padding-left: 20px; 
}

.help-section li { 
    margin-bottom: 8px; 
}

/* User Dropdown */
.user-dropdown { 
    position: relative; 
    margin-left: 16px; 
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-secondary, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.user-btn:hover { 
    background: var(--surface-tertiary); 
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--info) 0%, var(--color-info-700) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-name { 
    font-weight: 600; 
    font-size: 14px; 
    color: var(--text-primary, #1e293b); 
}

.user-role {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--color-info-100);
    color: var(--color-info-700);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.user-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: var(--lux-surface, white);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary, #1e293b);
    text-decoration: none;
    transition: all 0.15s;
}

.user-menu-item:hover { 
    background: var(--lux-surface-alt, #f1f5f9); 
}
