/* HamRig Dark Website Theme */

:root {
    --hamrig-primary: #8B1D1D;      /* Deep crimson primary */
    --hamrig-primary-dark: #5F0F12; /* Rich oxblood for depth */
    --hamrig-primary-glow: rgba(139, 29, 29, 0.28);
    --hamrig-brand-gradient: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    --hamrig-status-busy: #ef4444;  /* Status indicator (kept vivid) */
    --hamrig-secondary: #8E8E93;    /* Muted gray */
    --hamrig-success: #34C759;      /* Apple-like green */
    --hamrig-warning: #FF9500;      /* Apple-like orange */
    --hamrig-danger: #FF3B30;       /* Apple-like red */
    --hamrig-info: #0A84FF;         /* Apple-like blue */
    
    /* Dashboard-specific variables */
    --dashboard-primary: #0A84FF;   /* Dashboard blue for Connect buttons */
    
    /* Refined Dark theme colors */
    --hamrig-dark: #16161A;           /* Main background - deep, cool black */
    --hamrig-dark-2: #1F1F24;         /* Secondary background */
    --hamrig-dark-3: #24242B;         /* Card background */
    --hamrig-dark-4: #31313A;         /* Hover background */
    --hamrig-light: #F2F2F7;          /* Main text */
    --hamrig-light-2: #AEAEB2;        /* Secondary text */
    --hamrig-light-3: #636366;        /* Muted text */
    
    /* Borders and effects */
    --hamrig-border: rgba(255, 255, 255, 0.08);
    --hamrig-border-light: rgba(255, 255, 255, 0.05);
    --hamrig-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    --hamrig-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Avatar Styles */
.avatar-img,
.club-avatar-img,
.user-avatar img,
.channel-avatar img,
img[src*="avatar"],
img[src*="profile"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.user-avatar,
.channel-avatar,
.conversation-avatar,
.message-avatar-container {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Admin Dashboard Styles */
.dashboard-stats-container {
    margin-bottom: 2rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.premium-stat-card {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.premium-stat-card:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 20px rgba(139, 29, 29, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hamrig-light);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin-bottom: 0.25rem;
}

.stat-detail {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
}

.stat-online {
    color: var(--hamrig-success);
}

.stat-offline {
    color: var(--hamrig-light-3);
}

.dashboard-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hamrig-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.section-title i {
    color: var(--hamrig-primary);
}

.section-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.premium-select {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.premium-select:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.1);
}

.admin-user-card,
.admin-radio-card {
    position: relative;
}

.admin-user-card .radio-model {
    color: var(--hamrig-light-3);
    font-size: 0.875rem;
}

.user-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-status-indicator.status-online {
    color: var(--hamrig-success);
}

.user-status-indicator.status-offline {
    color: var(--hamrig-light-3);
}

.user-status-indicator i {
    font-size: 8px;
}

.client-control-buttons.admin-view {
    gap: 0.5rem;
}

.client-control-buttons.admin-view .info-badge {
    cursor: default;
    opacity: 0.8;
}

.client-control-buttons.admin-view .control-active,
.client-control-buttons.admin-view .tx-active {
    background: rgba(52, 199, 89, 0.2);
    color: var(--hamrig-success);
    border-color: var(--hamrig-success);
}

.client-control-buttons.admin-view .control-inactive,
.client-control-buttons.admin-view .tx-inactive {
    background: rgba(174, 174, 178, 0.1);
    color: var(--hamrig-light-3);
    border-color: var(--hamrig-light-3);
}

.client-control-buttons.admin-view .block-active {
    background: rgba(255, 59, 48, 0.2);
    color: var(--hamrig-danger);
    border-color: var(--hamrig-danger);
}

/* Responsive adjustments for VFO display */
@media (max-width: 480px) {
    .vfo-line-horizontal {
        /* Stack VFOs vertically on very small screens */
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vfo-group {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .vfo-group:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-controls {
        justify-content: flex-end;
    }
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--hamrig-dark);
    color: var(--hamrig-light-2);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* List Style Reset - Ensure no unwanted bullets */
ul, ol {
    margin: 0;
    padding: 0;
}

.dropdown-menu ul,
.dropdown-menu ol,
.nav ul,
.nav ol {
    list-style: none;
    list-style-type: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--hamrig-light);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--hamrig-light-2);
}

a {
    color: var(--hamrig-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--hamrig-primary);
    text-decoration: underline;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* Header/Navigation */
.header {
    background: rgba(22, 22, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hamrig-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Enhanced Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.nav-brand img {
    height: 40px;
    width: auto;
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

/* Enhanced Navigation Links */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--hamrig-light-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hamrig-brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--hamrig-light);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-border);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 29, 29, 0.15);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    color: var(--hamrig-light);
    background: var(--hamrig-brand-gradient);
    border-color: var(--hamrig-primary);
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(139, 29, 29, 0.25),
        0 0 0 1px rgba(139, 29, 29, 0.2);
}

.nav-link.active::before {
    opacity: 0;
}

/* ========================================
   Smart Search in Navigation
   ======================================== */
.nav-search-item {
    position: relative;
}

.nav-search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 180px;
}

.nav-search-container:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.15);
}

.nav-search-icon {
    color: var(--hamrig-light-3);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.nav-search-container:focus-within .nav-search-icon {
    color: var(--hamrig-primary);
}

.nav-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--hamrig-light);
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    width: 100%;
    min-width: 0;
}

.nav-search-input::placeholder {
    color: var(--hamrig-light-3);
    font-family: inherit;
}

.nav-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--hamrig-light-3);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-search-clear:hover {
    color: var(--hamrig-light);
    background: rgba(255, 255, 255, 0.1);
}

.nav-search-clear.visible {
    display: flex;
}

/* Search Flyout Popup */
.nav-search-flyout {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(99, 179, 237, 0.3);
    border-radius: 12px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.nav-search-flyout.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Flyout Loading State */
.flyout-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    color: var(--hamrig-light-2);
}

.flyout-loading i {
    color: var(--hamrig-primary);
}

/* Flyout Header Link */
.flyout-header-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.flyout-header-link:hover {
    background: rgba(139, 29, 29, 0.25);
}

.flyout-header-link:hover .flyout-callsign {
    color: var(--hamrig-primary, #8b1d1d);
}

.flyout-link-icon {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 4px;
    transition: opacity 0.2s ease;
}

.flyout-header-link:hover .flyout-link-icon {
    opacity: 1;
}

/* Flyout Header */
.flyout-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 29, 29, 0.15), rgba(139, 29, 29, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flyout-flag {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.flyout-flag-placeholder {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.flyout-title {
    flex: 1;
    min-width: 0;
}

.flyout-callsign {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hamrig-light);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.flyout-name {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flyout-location {
    font-size: 0.8rem;
    color: var(--hamrig-light-3);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

/* Flyout Profile Image */
.flyout-profile {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 29, 29, 0.4);
}

.flyout-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flyout-profile-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hamrig-brand-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Flyout Info Grid */
.flyout-info {
    padding: 0.75rem 1rem;
}

.flyout-info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flyout-info-row:last-child {
    border-bottom: none;
}

.flyout-info-label {
    color: var(--hamrig-light-3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flyout-info-value {
    color: #63b3ed;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

/* Flyout Prefixes Section */
.flyout-prefixes {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flyout-prefixes-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hamrig-light-3);
    margin-bottom: 0.4rem;
}

.flyout-prefixes-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #fbbf24;
    line-height: 1.5;
    word-break: break-word;
}

/* Flyout Bearing/Distance - Visual Compass Display */
.flyout-bearing-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--hamrig-dark-2, #1a1a2e);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
}

.bearing-info {
    text-align: center;
}

.bearing-label {
    font-size: 0.75rem;
    color: var(--hamrig-muted, #888);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bearing-value {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    font-family: 'JetBrains Mono', monospace;
}

.compass-container {
    text-align: center;
}

.compass-circle {
    width: 70px;
    height: 70px;
    border: 3px solid var(--hamrig-border, #333);
    border-radius: 50%;
    position: relative;
    background: var(--hamrig-dark-3, #0d0d1a);
    margin: 0 auto;
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 40px solid var(--hamrig-success, #22c55e);
    margin-left: -10px;  /* Center horizontally (half of triangle width 20px) */
    margin-top: -20px;   /* Center vertically (half of triangle height 40px) */
    transform-origin: 10px 20px;  /* Rotate around the triangle's center */
    transition: transform 0.5s ease;
}

.distance-value {
    font-size: 0.8rem;
    color: var(--hamrig-muted, #888);
    margin-top: 6px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* Flyout Two-Column Layout */
.flyout-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flyout-left-column {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.flyout-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-height: 100px;
}

/* Compact Bearing/Distance for Two-Column */
.flyout-bearing-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0;
}

.compass-container-compact {
    text-align: center;
}

.compass-circle-compact {
    width: 50px;
    height: 50px;
    border: 2px solid var(--hamrig-border, #333);
    border-radius: 50%;
    position: relative;
    background: var(--hamrig-dark-3, #0d0d1a);
    margin: 0 auto;
}

.compass-needle-compact {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 28px solid var(--hamrig-success, #22c55e);
    margin-left: -6px;
    margin-top: -14px;
    transform-origin: 6px 14px;
    transition: transform 0.5s ease;
}

.bearing-stats {
    text-align: center;
}

.bearing-value-compact {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hamrig-success, #22c55e);
    font-family: 'JetBrains Mono', monospace;
}

.distance-value-compact {
    font-size: 0.7rem;
    color: var(--hamrig-muted, #888);
    font-weight: 500;
}

/* Compact Prefixes for Two-Column */
.flyout-prefixes-compact {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flyout-prefixes-compact .flyout-prefixes-label {
    display: inline;
    margin-right: 4px;
}

.flyout-prefixes-compact .flyout-prefixes-value {
    color: #fbbf24;
    font-family: 'JetBrains Mono', monospace;
    word-break: break-word;
}

/* Flyout Band/Mode Matrix */
.flyout-matrix {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 6px;
}

.flyout-matrix-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hamrig-light-3);
    margin-bottom: 0.3rem;
    text-align: center;
}

.flyout-matrix-grid {
    font-size: 0.65rem;
}

/* Compact Matrix for Two-Column Layout */
.flyout-matrix-compact {
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin-top: 4px;
}

.matrix-grid-compact {
    font-size: 0.55rem;
}

.matrix-header-compact {
    display: flex;
    gap: 1px;
    margin-bottom: 1px;
}

.matrix-corner-compact {
    width: 22px;
    flex-shrink: 0;
}

.matrix-band-compact {
    flex: 1;
    min-width: 14px;
    text-align: center;
    padding: 1px 0;
    color: var(--hamrig-light-3);
    font-weight: 500;
    font-size: 0.5rem;
}

.matrix-row-compact {
    display: flex;
    gap: 1px;
    margin-bottom: 1px;
}

.matrix-mode-compact {
    width: 22px;
    flex-shrink: 0;
    color: var(--hamrig-light-3);
    font-weight: 500;
    font-size: 0.5rem;
    line-height: 12px;
}

.matrix-cell-compact {
    flex: 1;
    min-width: 14px;
    height: 12px;
    text-align: center;
    line-height: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.5rem;
}

.matrix-cell-compact.worked {
    background: rgba(34, 197, 94, 0.2);
    color: var(--hamrig-success, #22c55e);
    font-weight: 600;
}

/* Simple worked indicator for external wavelogs */
.flyout-worked-simple {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin-top: 4px;
}

.worked-badge {
    background: rgba(34, 197, 94, 0.2);
    color: var(--hamrig-success, #22c55e);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.worked-detail {
    font-size: 0.65rem;
    color: var(--hamrig-light-3);
    text-align: center;
}

.matrix-header {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.matrix-corner {
    width: 32px;
    flex-shrink: 0;
}

.matrix-band {
    flex: 1;
    min-width: 18px;
    text-align: center;
    padding: 0.2rem 0;
    color: var(--hamrig-light-3);
    font-weight: 500;
    font-size: 0.6rem;
}

.matrix-row {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.matrix-mode {
    width: 32px;
    flex-shrink: 0;
    color: var(--hamrig-light-2);
    padding: 0.2rem 0.3rem 0.2rem 0;
    text-align: right;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.matrix-cell {
    flex: 1;
    min-width: 18px;
    aspect-ratio: 1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--hamrig-light-4);
    font-size: 0.55rem;
}

.matrix-cell.worked {
    background: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Flyout No Results */
.flyout-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--hamrig-light-3);
}

.flyout-no-results i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--hamrig-light-4);
}

/* Flyout Error */
.flyout-error {
    padding: 1rem;
    text-align: center;
    color: #f87171;
    font-size: 0.85rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light-2);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

.nav-toggle i {
    font-size: 1.2rem;
}

/* Notification Bell Styles */
.notification-nav-item .nav-link {
    position: relative;
    padding: 0.75rem 1rem;
    background: none;
    border: 1px solid transparent;
}

.notification-bell {
    position: relative;
    background: none;
    color: var(--hamrig-light-2);
    cursor: pointer;
}

.notification-bell:hover {
    color: var(--hamrig-primary);
    background: rgba(139, 29, 29, 0.1);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--hamrig-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--hamrig-dark-2);
        border: 1px solid var(--hamrig-border);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    /* Mobile Search Styles */
    .nav-search-item {
        width: 100%;
    }

    .nav-search-container {
        width: 100%;
        min-width: unset;
    }

    .nav-search-flyout {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 16px 16px 0 0;
        max-width: 100%;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-search-flyout.visible {
        transform: none;
    }
}

/* Premium Page Styling */
.premium-header {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(139, 95, 255, 0.05) 50%,
        rgba(22, 22, 26, 0.95) 100%
    );
    border-bottom: 1px solid var(--hamrig-border);
    backdrop-filter: blur(20px);
    padding: 2rem 0 1.5rem 0;
    margin-bottom: 0.5rem;
}

.page-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--hamrig-brand-gradient);
    color: white;
    font-size: 1.5rem;
    box-shadow: 
        0 6px 20px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.page-title-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
    background: linear-gradient(135deg, var(--hamrig-light), var(--hamrig-light-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 400;
}

.page-header-actions {
    display: flex;
    gap: 1rem;
}

.page-header-actions .btn-premium {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    flex: 1 1 0;
    min-width: 0;
}

.page-header-actions .btn-premium .btn-content {
    height: 100%;
    white-space: nowrap;
}

/* Premium Button Styling - More Compact */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    text-decoration: none;
}

.btn-premium .btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--hamrig-brand-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 
        0 3px 12px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.btn-premium .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-premium:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-premium:hover .btn-content {
    box-shadow: 
        0 6px 24px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(220, 38, 38, 0.3);
    transform: scale(1.02);
}

.btn-premium:hover .btn-glow {
    opacity: 0.6;
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium.btn-lg .btn-content {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 52px;
}

/* Premium Dashboard Styling - Compact Stats Tags */
.premium-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.premium-stat-card {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.premium-stat-card:hover {
    transform: translateY(-1px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.premium-stat-card:hover::before {
    opacity: 0.1;
}

.premium-stat-card .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.premium-stat-card .stat-icon.locations {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.premium-stat-card .stat-icon.radios {
    background: linear-gradient(135deg, #10B981, #059669);
}

.premium-stat-card .stat-icon.online {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.premium-stat-card .stat-icon.alerts {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.premium-stat-card .stat-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.premium-stat-card .stat-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    margin: 0;
}

.premium-stat-card .stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
    line-height: 1;
}

.premium-dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.premium-location-nav {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(20px);
}

.premium-location-detail {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.location-nav-item {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    color: var(--hamrig-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateX(3px);
    color: var(--hamrig-light);
    text-decoration: none;
}

.location-nav-item.active {
    background: linear-gradient(135deg, 
        rgba(139, 29, 29, 0.15),
        rgba(139, 95, 255, 0.10)
    );
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.nav-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.nav-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem;
}

.nav-item-details {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.nav-item-radios {
    margin-top: 0.5rem;
}

.radio-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
}

.premium-detail-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

/* When detail content has actual content, align to top */
.premium-location-detail:has(.premium-detail-content:not(.d-none)) {
    align-items: flex-start;
    justify-content: flex-start;
}

/* Alternative for browsers that don't support :has() */
.premium-location-detail.has-content {
    align-items: flex-start;
    justify-content: flex-start;
}

/* Compact Location Detail Styles */
.compact-location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.location-header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.location-title-compact h3.location-name-compact {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.25rem 0;
}

.location-meta-compact {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--hamrig-light-muted);
}

.location-stats-compact {
    display: flex;
    gap: 1rem;
}

.stat-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-compact .stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
}

.stat-compact .stat-label {
    font-size: 0.7rem;
    color: var(--hamrig-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-compact.online .stat-value {
    color: #10b981;
}

.location-actions-compact {
    display: flex;
    gap: 0.5rem;
}

.btn-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--hamrig-light);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-compact:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-1px);
}

.btn-compact.primary {
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-color: var(--hamrig-primary);
    color: white;
}

.btn-compact.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Compact Radios Section */
.compact-radios-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(10px);
}

.radios-header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.radios-header-compact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

.compact-radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.compact-radio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.875rem;
    transition: all 0.3s ease;
}

.compact-radio-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.radio-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.radio-info h5.radio-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.25rem 0;
}

.radio-info p.radio-model {
    font-size: 0.75rem;
    color: var(--hamrig-light-muted);
    margin: 0;
}

.radio-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-status.online {
    color: #10b981;
}

.radio-status.offline {
    color: #ef4444;
}

.radio-status i {
    font-size: 0.5rem;
}

.radio-parameters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.param-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--hamrig-light-muted);
}

.param-item i {
    font-size: 0.7rem;
    color: var(--hamrig-primary);
}

.param-value {
    color: var(--hamrig-light);
    font-weight: 500;
}

.radio-actions {
    display: flex;
    gap: 0.5rem;
}

.compact-empty-radios {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-radios-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-radios-content i {
    font-size: 2rem;
    color: var(--hamrig-light-muted);
    opacity: 0.6;
}

.empty-radios-content p {
    color: var(--hamrig-light-muted);
    margin: 0;
}

/* Ensure detail content takes full width when displayed */
.premium-detail-content:not(.d-none) {
    display: block;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.detail-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.maidenhead {
    font-size: 0.875rem;
    color: var(--hamrig-primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.coordinates {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-family: 'Courier New', monospace;
}

.radios-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 1rem;
}

.radio-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.radio-card-info {
    flex: 1;
}

.radio-card-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.radio-icon {
    color: var(--hamrig-primary);
    font-size: 1rem;
}

.radio-card-name span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
}

.radio-card-model {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.radio-card-status {
    margin-right: 0.75rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-indicator.online {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.status-indicator.offline {
    background: linear-gradient(135deg, #6B7280, #4B5563);
    color: white;
}

.status-indicator i {
    font-size: 0.5rem;
}

.radio-card-actions .btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    padding: 0.375rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.radio-card-actions .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
}

/* Premium Loading - More Compact */
.premium-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.loading-spinner-premium {
    width: 32px;
    height: 32px;
    border: 2px solid var(--hamrig-border);
    border-top: 2px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.premium-loading h4 {
    color: var(--hamrig-light);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.premium-loading p {
    color: var(--hamrig-light-2);
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Dashboard - More Compact */
@media (max-width: 768px) {
    .premium-header {
        padding: 1.5rem 0 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .page-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .premium-stats-grid {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .premium-stat-card {
        padding: 0.375rem 0.75rem;
        gap: 0.375rem;
    }
    
    .premium-stat-card .stat-icon {
        width: 20px;
        height: 20px;
        font-size: 0.625rem;
    }
    
    .premium-stat-card .stat-title {
        font-size: 0.675rem;
    }
    
    .premium-stat-card .stat-value {
        font-size: 0.8rem;
    }
    
    .premium-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .premium-location-nav {
        max-height: 300px;
        padding: 1.25rem;
    }
    
    .premium-location-detail {
        min-height: 400px;
        padding: 1.5rem;
    }
    
    .premium-location-nav {
        max-height: 200px;
        padding: 0.75rem;
    }
    
    .premium-location-detail {
        padding: 1rem;
        min-height: 300px;
    }
    
    .detail-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .radio-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .radio-card-status {
        margin-right: 0;
        align-self: flex-start;
    }
}

/* Premium Grid Layout */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    padding: 0.5rem 0;
}

.grid-full {
    grid-column: 1 / -1;
}

/* Premium Loading State */
.premium-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner-premium {
    width: 48px;
    height: 48px;
    border: 3px solid var(--hamrig-border);
    border-top: 3px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.premium-loading h4 {
    color: var(--hamrig-light);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.premium-loading p {
    color: var(--hamrig-light-2);
    margin: 0;
    font-size: 1rem;
}

/* Premium Empty State */
.premium-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 12px 32px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.premium-empty-state h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 1rem 0;
}

.empty-state-description {
    font-size: 1.125rem;
    color: var(--hamrig-light-2);
    margin: 0 0 2.5rem 0;
    max-width: 600px;
    line-height: 1.6;
}

.empty-state-actions {
    margin-bottom: 2rem;
}

.empty-state-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--hamrig-light-3);
    font-weight: 500;
}

.empty-state-hint i {
    color: var(--hamrig-primary);
}

/* Premium Alerts - Simplified & Elegant */
.premium-alerts {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 9999;
    max-width: 380px;
    pointer-events: none;
}

.premium-alert {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.premium-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--hamrig-primary);
}



.premium-alert-header {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.premium-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    background: var(--hamrig-primary);
}

.premium-alert-content {
    flex: 1;
    min-width: 0;
    padding-right: 2rem;
}

.premium-alert-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.premium-alert-message {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
    line-height: 1.4;
}

.premium-alert-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-3);
    cursor: pointer;
    font-size: 0.8rem;
}

.premium-alert-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--hamrig-light);
}

/* Alert Types - Simplified Colors */
.premium-alert.success::before {
    background: #10b981;
}

.premium-alert.success .premium-alert-icon {
    background: #10b981;
}

.premium-alert.error::before,
.premium-alert.danger::before {
    background: #ef4444;
}

.premium-alert.error .premium-alert-icon,
.premium-alert.danger .premium-alert-icon {
    background: #ef4444;
}

.premium-alert.warning::before {
    background: #f59e0b;
}

.premium-alert.warning .premium-alert-icon {
    background: #f59e0b;
}

.premium-alert.info::before {
    background: #3b82f6;
}

.premium-alert.info .premium-alert-icon {
    background: #3b82f6;
}

/* No hover effects - animations removed */

/* Progress Bar - Simplified */
.premium-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--hamrig-primary);
    border-radius: 0 0 12px 12px;
    opacity: 0.7;
}

.premium-alert.success .premium-alert-progress {
    background: #10b981;
}

.premium-alert.error .premium-alert-progress,
.premium-alert.danger .premium-alert-progress {
    background: #ef4444;
}

.premium-alert.warning .premium-alert-progress {
    background: #f59e0b;
}

.premium-alert.info .premium-alert-progress {
    background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-alerts {
        top: 80px;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .premium-alert {
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    
    .premium-alert-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .premium-alert-title {
        font-size: 0.9rem;
    }
    
    .premium-alert-message {
        font-size: 0.825rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-alerts {
        top: 80px;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .premium-alert {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    .premium-alert-header {
        gap: 0.75rem;
    }
    
    .premium-alert-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .premium-alert-title {
        font-size: 0.95rem;
    }
    
    .premium-alert-message {
        font-size: 0.85rem;
    }
    
    .premium-alert-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* Premium Location Cards (for when locations are loaded) */
.location-card-premium {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.location-card-premium:hover {
    transform: translateY(-4px);
    border-color: var(--hamrig-primary);
    box-shadow: 
        0 12px 32px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.1);
}

.location-card-premium:hover::before {
    opacity: 0.05;
}

/* Premium Radio Cards */
.radio-card-premium {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Premium Dashboard Styling */
.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.premium-stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.premium-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--hamrig-primary);
    box-shadow: 
        0 12px 32px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.1);
}

.premium-stat-card:hover::before {
    opacity: 0.05;
}

.premium-stat-card .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.premium-stat-card .stat-icon.locations {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.premium-stat-card .stat-icon.radios {
    background: linear-gradient(135deg, #10B981, #059669);
}

.premium-stat-card .stat-icon.online {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.premium-stat-card .stat-icon.alerts {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.premium-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.premium-stat-card .stat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
    line-height: 1;
}

.premium-dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

.premium-location-nav {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(20px);
}

.premium-location-detail {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-nav-item {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    color: var(--hamrig-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateX(4px);
    color: var(--hamrig-light);
    text-decoration: none;
}

.location-nav-item.active {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.15),
        rgba(139, 95, 255, 0.10)
    );
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.nav-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.nav-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem;
}

.nav-item-details {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.nav-item-radios {
    margin-top: 0.75rem;
}

.radio-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
}

.premium-detail-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.detail-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.75rem 0;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.maidenhead {
    font-size: 1rem;
    color: var(--hamrig-primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.coordinates {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    font-family: 'Courier New', monospace;
}

.radios-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 1.5rem;
}

.radio-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateY(-2px);
}

.radio-card-info {
    flex: 1;
}

.radio-card-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.radio-icon {
    color: var(--hamrig-primary);
    font-size: 1.125rem;
}

.radio-card-name span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
}

.radio-card-model {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.radio-card-status {
    margin-right: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-indicator.online {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.status-indicator.offline {
    background: linear-gradient(135deg, #6B7280, #4B5563);
    color: white;
}

.status-indicator i {
    font-size: 0.625rem;
}

.radio-card-actions .btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-card-actions .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
}

.radio-card-premium {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.radio-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.radio-card-premium:hover {
    transform: translateY(-4px);
    border-color: var(--hamrig-primary);
    box-shadow: 
        0 12px 32px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.1);
}

.radio-card-premium:hover::before {
    opacity: 0.05;
}

.radio-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.radio-info {
    flex: 1;
    min-width: 0;
}

.radio-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.radio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.radio-model {
    font-size: 1rem;
    color: var(--hamrig-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.radio-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.radio-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 100px;
}

.radio-status.online {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.radio-status.offline {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.radio-status.connecting {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.radio-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
}

.radio-detail {
    text-align: center;
}

.radio-detail-label {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.radio-detail-value {
    font-size: 1rem;
    color: var(--hamrig-light);
    font-weight: 600;
}

.radio-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.radio-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--hamrig-light-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.radio-action-btn.primary {
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    border-color: var(--hamrig-primary);
}

.radio-action-btn.primary:hover {
    background: linear-gradient(135deg, #7B6AFF, #9966FF);
    color: white;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.radio-action-btn.danger {
    border-color: #EF4444;
    color: #EF4444;
}

.radio-action-btn.danger:hover {
    background: #EF4444;
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* Premium Modal and Form Enhancements */
.premium-modal {
    background: linear-gradient(135deg, 
        rgba(22, 22, 26, 0.98),
        rgba(22, 22, 26, 0.95)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 24px;
    backdrop-filter: blur(40px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(220, 38, 38, 0.1);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--hamrig-border);
    padding: 2rem 2rem 1.5rem;
    position: relative;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 400;
}

.premium-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-2);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Form Sections */
.form-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--hamrig-primary);
    font-size: 0.85rem;
}

.section-description {
    font-size: 0.95rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 400;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--hamrig-primary);
    width: 16px;
    text-align: center;
}

.optional-label {
    color: var(--hamrig-light-3);
    font-weight: 400;
    font-size: 0.875rem;
}

.premium-input,
.premium-select,
.premium-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-input:focus,
.premium-select:focus,
.premium-textarea:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 3px rgba(220, 38, 38, 0.1),
        0 4px 12px rgba(220, 38, 38, 0.15);
}

.premium-input::placeholder,
.premium-textarea::placeholder {
    color: var(--hamrig-light-3);
}

.premium-select {
    cursor: pointer;
}

.premium-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-text {
    font-size: 0.875rem;
    color: var(--hamrig-light-3);
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
}

/* Connection Details */
.premium-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.details-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--hamrig-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.details-header i {
    font-size: 1.125rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-col {
    display: flex;
    flex-direction: column;
}

/* Premium Footer */
.premium-footer {
    border-top: 1px solid var(--hamrig-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.premium-btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light-2);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-light-3);
    color: var(--hamrig-light);
    transform: translateY(-1px);
}

.btn-modal-primary {
    min-height: 56px;
    font-size: 1rem;
    font-weight: 600;
}

.modal-help {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--hamrig-light-3);
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--hamrig-border);
}

.modal-help i {
    color: var(--hamrig-primary);
}

.help-link {
    color: var(--hamrig-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .premium-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .premium-footer {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column-reverse;
    }
    
    .premium-btn-secondary,
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

.modal-header {
    border-bottom: 1px solid var(--hamrig-border);
    padding: 2rem 2rem 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--hamrig-border);
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--hamrig-primary);
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 3px rgba(220, 38, 38, 0.1),
        0 4px 12px rgba(220, 38, 38, 0.15);
}

.form-control::placeholder {
    color: var(--hamrig-light-3);
}

.form-text {
    font-size: 0.875rem;
    color: var(--hamrig-light-3);
    margin-top: 0.5rem;
    display: block;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Responsive Design for Premium Elements */
@media (max-width: 768px) {
    .premium-header {
        padding: 2rem 0;
    }
    
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .page-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .premium-empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Enhanced User Dropdown */
.user-profile {
    background: none;
    border: none;
    color: var(--hamrig-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Cards */
.card {
    background-color: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    box-shadow: var(--hamrig-shadow);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hamrig-shadow-lg);
    border-color: var(--hamrig-border);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border-light);
    background-color: var(--hamrig-dark-2);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--hamrig-border-light);
    background-color: var(--hamrig-dark-2);
}

.card-title {
    margin-bottom: 0.5rem;
    color: var(--hamrig-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    background: none;
    font-family: inherit;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.btn-primary:hover:not(:disabled) {
    background-color: #c82333;
    color: var(--hamrig-light);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--hamrig-secondary);
    color: var(--hamrig-light);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #5a6268;
    color: var(--hamrig-light);
    text-decoration: none;
}

.btn-outline {
    border: 2px solid var(--hamrig-primary);
    color: var(--hamrig-primary);
    background: transparent;
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--hamrig-primary);
    color: var(--hamrig-light);
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: var(--hamrig-light-3);
    border: 1px solid var(--hamrig-border);
    padding: 0.375rem 0.75rem;
}

.btn-ghost:hover:not(:disabled) {
    background-color: var(--hamrig-dark-4);
    color: var(--hamrig-light);
    border-color: var(--hamrig-border-light);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Action buttons - smaller, more refined */
.btn-action {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
}

/* Page header action buttons */
.page-header .btn,
[onclick*="openAddLocationModal"] {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
}

/* Location card action buttons */
.location-actions .btn {
    padding: 0.375rem 0.5rem !important;
    font-size: 0.75rem !important;
    border-radius: 4px !important;
}

/* Modal action buttons */
.modal-footer .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Small utility buttons */
.btn-icon {
    padding: 0.375rem;
    font-size: 0.75rem;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--hamrig-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 6px;
    color: var(--hamrig-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control::placeholder {
    color: var(--hamrig-light-3);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col {
    flex: 1;
    padding: 0 10px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Location card grid spacing */
.location-card {
    margin-bottom: 2rem;
}

/* Add more spacing specifically for location grid items */
#locationsGrid .col-md-6,
#locationsGrid .col-lg-4 {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

/* Radio card grid spacing */
.radio-card {
    margin-bottom: 2rem;
}

/* Add more spacing specifically for radio grid items */
#radiosGrid .col-md-6,
#radiosGrid .col-xl-4 {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-success {
    background-color: var(--hamrig-success);
    color: var(--hamrig-light);
}

.badge-danger {
    background-color: var(--hamrig-danger);
    color: var(--hamrig-light);
}

.badge-warning {
    background-color: var(--hamrig-warning);
    color: var(--hamrig-dark);
}

.badge-info {
    background-color: var(--hamrig-info);
    color: var(--hamrig-light);
}

.badge-secondary {
    background-color: var(--hamrig-secondary);
    color: var(--hamrig-light);
}

/* Loading and Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--hamrig-border);
    border-top: 4px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--hamrig-dark-2);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--hamrig-border);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-1, .col-2, .col-3, .col-4, .col-6, .col-8, .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    h1 { font-size: 1.75rem; }
}

/* Page-specific styles */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--hamrig-dark) 0%, var(--hamrig-dark-2) 100%);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--hamrig-primary), #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--hamrig-light-3);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--hamrig-primary);
    box-shadow: var(--hamrig-shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--hamrig-dark-2);
}

.stat-icon.text-primary { color: var(--hamrig-primary); }
.stat-icon.text-success { color: var(--hamrig-success); }
.stat-icon.text-info   { color: var(--hamrig-info); }
.stat-icon.text-warning { color: var(--hamrig-warning); }


.stat-info .stat-title {
    font-size: 0.9rem;
    color: var(--hamrig-light-2);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-info .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hamrig-light);
    line-height: 1.2;
    margin: 0;
}

/* Responsive adjustments for stats */
@media (max-width: 576px) {
    .stat-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    .stat-icon {
        margin-bottom: 0.5rem;
    }
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--hamrig-border-light);
}

.table th {
    background-color: var(--hamrig-dark-2);
    color: var(--hamrig-light);
    font-weight: 600;
}

.table tr:hover {
    background-color: var(--hamrig-dark-4);
}

/* Modal/Dialog */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    color: var(--hamrig-light);
}

.modal-close {
    background: none;
    border: none;
    color: var(--hamrig-light-3);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--hamrig-dark-4);
    color: var(--hamrig-light);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--hamrig-border-light);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Legacy Alert Compatibility */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--hamrig-border);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-success {
    border-left-color: var(--hamrig-success);
    color: var(--hamrig-light);
}

.alert-success::before {
    background: linear-gradient(180deg, var(--hamrig-success), #059669);
}

.alert-danger {
    border-left-color: var(--hamrig-danger);
    color: var(--hamrig-light);
}

.alert-danger::before {
    background: linear-gradient(180deg, var(--hamrig-danger), #dc2626);
}

.alert-warning {
    border-left-color: var(--hamrig-warning);
    color: var(--hamrig-light);
}

.alert-warning::before {
    background: linear-gradient(180deg, var(--hamrig-warning), #d97706);
}

.alert-info {
    border-left-color: var(--hamrig-info);
    color: var(--hamrig-light);
}

.alert-info::before {
    background: linear-gradient(180deg, var(--hamrig-info), #1d4ed8);
}

/* Footer */
.footer {
    background-color: var(--hamrig-dark-2);
    border-top: 1px solid var(--hamrig-border);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--hamrig-light);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--hamrig-light-3);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--hamrig-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--hamrig-border-light);
    color: var(--hamrig-light-3);
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background: var(--hamrig-glass) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hamrig-border);
    box-shadow: var(--hamrig-shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #e0e0e0 !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 12px;
    filter: brightness(1.1);
}

.navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 4px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--hamrig-primary), #b02a37);
    color: var(--hamrig-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler {
    border: 1px solid var(--hamrig-border);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Cards - Radio Control Panel Style */
.card {
    background: var(--hamrig-glass);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    box-shadow: var(--hamrig-shadow);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--hamrig-primary);
}

.card-header {
    background: rgba(31, 41, 55, 0.7);
    border-bottom: 1px solid var(--hamrig-border);
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
    color: #e5e7eb;
}

/* Modern Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-transform: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-primary {
    background-color: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #5854d6;
    border-color: #5854d6;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
    color: var(--hamrig-light);
}

.btn-outline-primary {
    border: 1px solid var(--hamrig-primary);
    color: var(--hamrig-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.btn-outline-secondary {
    border: 1px solid var(--hamrig-secondary);
    color: var(--hamrig-light-2);
    background: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--hamrig-secondary);
    border-color: var(--hamrig-secondary);
    color: var(--hamrig-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(142, 142, 147, 0.25);
}

.btn-outline-danger {
    border: 1px solid var(--hamrig-danger);
    color: var(--hamrig-danger);
    background: transparent;
}

.btn-outline-danger:hover {
    background-color: var(--hamrig-danger);
    border-color: var(--hamrig-danger);
    color: var(--hamrig-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.25);
}

/* Status Badges - Radio Style */
.badge {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--hamrig-success), #15803d) !important;
    color: white;
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.2);
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--hamrig-danger), #b91c1c) !important;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--hamrig-warning), #d97706) !important;
    color: #000;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--hamrig-meter-bg), #1d4ed8) !important;
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    color: #e5e7eb;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

.badge.bg-light {
    background: var(--hamrig-light) !important;
    color: var(--hamrig-secondary);
    border: 1px solid var(--hamrig-border);
}

/* Status Indicators with Animation */
.status-indicator .badge {
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Form Controls - Radio Interface Style */
.form-control,
.form-select {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--hamrig-control-border);
    border-radius: 6px;
    color: #e5e7eb;
    padding: 12px 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    background: rgba(31, 41, 55, 0.9);
    color: #f3f4f6;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-label {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

/* Modal - Glass Panel Style */
.modal-content {
    background: var(--hamrig-glass);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid var(--hamrig-border);
    padding: 24px;
    background: rgba(31, 41, 55, 0.5);
}

.modal-body {
    padding: 24px;
}

.modal-title {
    color: #e5e7eb;
    font-weight: 700;
}

/* Dashboard Stats Cards - Control Panel Style */
.stats-card {
    background: var(--hamrig-glass);
    border-left: 4px solid var(--hamrig-primary);
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hamrig-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover {
    border-left-color: #b02a37;
    transform: translateY(-2px);
    box-shadow: var(--hamrig-glow);
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hamrig-primary);
    line-height: 1;
    font-family: var(--font-digital);
}

.stats-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-icon {
    font-size: 2.5rem;
    color: #4b5563;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon {
    color: var(--hamrig-primary);
    opacity: 0.8;
}

/* Activity Feed - Control Log Style */
.activity-item {
    padding: 16px;
    border-radius: 6px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--hamrig-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-item:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--hamrig-primary);
    transform: translateX(4px);
}

.activity-item:hover::before {
    opacity: 1;
}

.activity-time {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    font-family: var(--font-digital);
}

.activity-user {
    font-weight: 600;
    color: var(--hamrig-primary);
    font-family: var(--font-digital);
}

/* Splash Screen - Professional Radio Style */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hamrig-dark) 0%, #111827 50%, #1f2937 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.splash-logo {
    max-width: 300px;
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    animation: fadeInScale 1s ease-out;
}

.splash-text {
    color: #e5e7eb;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s both;
    font-family: var(--font-primary);
}

.splash-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #374151;
    border-top: 4px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast - Control Panel Style */
.toast {
    background: var(--hamrig-glass);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    box-shadow: var(--hamrig-shadow);
    backdrop-filter: blur(10px);
}

.toast-header {
    background: rgba(31, 41, 55, 0.7);
    border-bottom: 1px solid var(--hamrig-border);
    color: #e5e7eb;
}

/* Loading States */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-top: 2px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced User Dropdown */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-primary);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* Remove underline from dropdown toggle */
.dropdown-toggle {
    text-decoration: none !important;
}

.dropdown-toggle:hover {
    text-decoration: none !important;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.2rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.user-callsign {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hamrig-light);
    white-space: nowrap;
}

.user-status {
    font-size: 0.75rem;
    color: var(--hamrig-success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hamrig-success);
    box-shadow: 0 0 4px var(--hamrig-success);
}

.dropdown-arrow {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3), 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    min-width: 280px;
    z-index: 1000;
    display: none !important;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    animation: dropdownSlideIn 0.2s ease-out;
    list-style: none;
    margin: 0.5rem 0 0 0;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu.show {
    display: block !important;
}

/* Dropdown Header */
.dropdown-header {
    padding: 0.75rem 1rem 1rem 1rem;
    border-bottom: none;
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.dropdown-callsign {
    font-weight: 700;
    font-size: 1rem;
    color: var(--hamrig-light);
}

.dropdown-email {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

/* Auth Profile Styles for Non-Logged Users */
.auth-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
    cursor: pointer;
    min-width: 140px;
}

.auth-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.auth-avatar {
    width: 32px;
    height: 32px;
    background: var(--hamrig-dark-2);
    border: 1px solid rgba(139, 29, 29, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.auth-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.auth-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
    line-height: 1.2;
}

.auth-status {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    font-weight: 500;
    line-height: 1.2;
}

/* Auth Dropdown Welcome Section */
.dropdown-welcome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.welcome-icon {
    width: 40px;
    height: 40px;
    background: var(--hamrig-brand-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.welcome-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.welcome-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--hamrig-light);
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
    line-height: 1.2;
}

/* Mobile Responsiveness for Auth Dropdown */
@media (max-width: 768px) {
    .auth-profile {
        min-width: 100px;
        gap: 0.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    .auth-info {
        gap: 0.1rem;
    }
    
    .auth-text {
        font-size: 0.85rem;
    }
    
    .auth-status {
        font-size: 0.7rem;
    }
    
    .dropdown-welcome {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .welcome-title {
        font-size: 0.9rem;
    }
    
    .welcome-subtitle {
        font-size: 0.75rem;
    }
}

/* Enhanced Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--hamrig-light-2);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.75rem;
    border-radius: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, 
        rgba(220, 38, 38, 0.1), 
        rgba(220, 38, 38, 0.05)
    );
    color: var(--hamrig-light);
    text-decoration: none;
    transform: translateX(4px);
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--hamrig-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-item-icon {
    background: var(--hamrig-primary);
    color: white;
    transform: scale(1.1);
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: inherit;
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    font-weight: 400;
}

.dropdown-item:hover .dropdown-item-desc {
    color: var(--hamrig-light-2);
}

/* Logout Item Special Styling */
.logout-item {
    margin-top: 0.25rem;
    cursor: pointer !important;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.logout-item .dropdown-item-icon {
    background: rgba(255, 59, 48, 0.1);
    color: var(--hamrig-danger);
}

.logout-item:hover {
    background: linear-gradient(90deg, 
        rgba(255, 59, 48, 0.1), 
        rgba(255, 59, 48, 0.05)
    );
}

.logout-item:hover .dropdown-item-icon {
    background: var(--hamrig-danger);
    color: white;
}

.logout-item:hover .dropdown-item-title {
    color: var(--hamrig-danger);
}

/* Enhanced Divider */
.dropdown-divider {
    height: 0;
    margin: 0.75rem 1rem;
    overflow: hidden;
    border-top: 1px solid var(--hamrig-border);
    background: linear-gradient(90deg, 
        transparent, 
        var(--hamrig-border), 
        transparent
    );
}

/* Remove list bullets from all dropdown elements */
.dropdown-menu,
.dropdown-menu * {
    list-style: none !important;
    list-style-type: none !important;
}

.dropdown-menu ul,
.dropdown-menu ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu::before,
.dropdown-menu::after,
.dropdown-menu li::before,
.dropdown-menu li::after {
    content: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .splash-logo {
        max-width: 250px;
    }
}

/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hamrig-primary);
}

/* Utility Classes */
.text-hamrig-primary {
    color: var(--hamrig-primary) !important;
}

.text-hamrig-secondary {
    color: var(--hamrig-secondary) !important;
}

.bg-hamrig-primary {
    background-color: var(--hamrig-primary) !important;
}

.bg-hamrig-secondary {
    background-color: var(--hamrig-secondary) !important;
}

.border-hamrig-primary {
    border-color: var(--hamrig-primary) !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #00ccff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    background: rgba(0, 102, 204, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* =============================================== */
/* == NEW DASHBOARD STYLES                      == */
/* =============================================== */

main {
    padding-top: 0;
    padding-bottom: 2rem;
}

.page-header {
    margin-bottom: 0;
}

.page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hamrig-light);
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--hamrig-light-2);
    margin-top: 0.3rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    height: calc(100vh - 180px); /* Adjust based on header/footer height */
    background-color: var(--hamrig-dark-2);
    border-radius: 12px;
    border: 1px solid var(--hamrig-border);
    overflow: hidden;
}

.location-nav-panel {
    display: flex;
    flex-direction: column;
    background-color: var(--hamrig-dark);
    border-right: 1px solid var(--hamrig-border);
    overflow-y: auto;
}

.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

.panel-title i {
    color: var(--hamrig-primary);
}

.location-nav-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.location-nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

#location-nav {
    padding: 0.5rem;
    flex-grow: 1;
}

.location-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.location-nav-item:hover {
    background-color: var(--hamrig-dark-3);
    text-decoration: none;
}

.location-nav-item.active {
    background-color: var(--hamrig-primary-glow);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.nav-item-icon {
    font-size: 1.2rem;
    color: var(--hamrig-light-3);
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.location-nav-item.active .nav-item-icon {
    color: var(--hamrig-primary);
}

.nav-item-info {
    flex-grow: 1;
}

.nav-item-title {
    display: block;
    font-weight: 500;
    color: var(--hamrig-light);
}

.nav-item-details {
    font-size: 0.85rem;
    color: var(--hamrig-light-3);
}

.location-nav-item.active .nav-item-details {
    color: var(--hamrig-light-2);
}

.radio-count-badge {
    background-color: var(--hamrig-dark-3);
    color: var(--hamrig-light-2);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    min-width: 24px;
    text-align: center;
}

.location-nav-item.active .radio-count-badge {
    background-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.location-detail-panel {
    padding: 2rem;
    overflow-y: auto;
}

.detail-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.empty-state-content {
    max-width: 400px;
}

.empty-state-content i {
    font-size: 3rem;
    color: var(--hamrig-light-3);
    margin-bottom: 1.5rem;
}

.empty-state-content h3 {
    color: var(--hamrig-light);
}

.empty-state-content p {
    color: var(--hamrig-light-2);
}

#locationsLoading, #locationsEmpty {
    height: 100%;
}

#location-detail-content.d-none {
    display: none;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
    margin-bottom: 2rem;
}

.detail-title h2 {
    margin: 0;
    font-size: 2rem;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    color: var(--hamrig-light-2);
}

.detail-meta .maidenhead {
    font-family: var(--font-mono);
    background-color: var(--hamrig-dark-3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.detail-meta .coordinates {
    font-size: 0.9rem;
}

.radios-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 1.5rem;
}

.radio-list-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.radio-card {
    display: flex;
    align-items: center;
    background-color: var(--hamrig-dark-3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--hamrig-border);
    transition: var(--transition-normal);
}

.radio-card:hover {
    border-color: var(--hamrig-border-light);
    background-color: var(--hamrig-dark-4);
}

.radio-card-info {
    flex-grow: 1;
}

.radio-card-name {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--hamrig-light);
}

.radio-icon {
    margin-right: 0.75rem;
    color: var(--hamrig-light-3);
}

.radio-card-model {
    font-size: 0.85rem;
    color: var(--hamrig-light-2);
    margin-left: 2rem; /* Align with name text */
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator .fa-circle {
    font-size: 0.7rem;
}

.status-indicator.online {
    color: var(--hamrig-success);
}

.status-indicator.offline {
    color: var(--hamrig-secondary);
}

.radio-card-actions .btn-ghost {
    color: var(--hamrig-light-3);
}

.radio-card-actions .btn-ghost:hover {
    color: var(--hamrig-light);
    background-color: var(--hamrig-dark-2);
}

.empty-radio-state {
    text-align: center;
    padding: 2rem;
    background-color: var(--hamrig-dark-3);
    border-radius: 8px;
    border: 1px dashed var(--hamrig-border);
}

.empty-radio-state p {
    margin-bottom: 1rem;
    color: var(--hamrig-light-2);
}

/* =============================================== */
/* == RADIO CARD STYLES                         == */
/* =============================================== */

.radio-card {
    background-color: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.radio-card:hover {
    transform: translateY(-2px);
    border-color: var(--hamrig-border-light);
    box-shadow: var(--hamrig-shadow-lg);
}

.radio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.icom-badge {
    background-color: var(--hamrig-primary);
    color: var(--hamrig-light);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.radio-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.radio-status.online {
    background-color: rgba(52, 199, 89, 0.1);
    color: var(--hamrig-success);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.radio-status.offline {
    background-color: rgba(142, 142, 147, 0.1);
    color: var(--hamrig-secondary);
    border: 1px solid rgba(142, 142, 147, 0.2);
}

.radio-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--hamrig-dark-2);
    border-radius: 8px;
    border: 1px solid var(--hamrig-border-light);
}

.radio-spec {
    text-align: center;
}

.radio-spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    font-family: var(--font-mono);
}

.radio-spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.radio-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.radio-actions .flex-1 {
    flex: 1;
}

.radio-actions .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.75rem !important;
}

/* Radio dropdown menu */
.radio-header .dropdown {
    position: relative;
}

.radio-header .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px;
    box-shadow: var(--hamrig-shadow-lg);
    min-width: 150px;
    z-index: 1000;
    display: none;
    padding: 0.5rem 0;
}

.radio-header .dropdown-menu.show {
    display: block;
}

.radio-header .dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--hamrig-light-2);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.radio-header .dropdown-item:hover {
    background-color: var(--hamrig-dark-4);
    color: var(--hamrig-light);
    text-decoration: none;
}

.radio-header .dropdown-item.text-danger {
    color: var(--hamrig-danger);
}

.radio-header .dropdown-item.text-danger:hover {
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--hamrig-danger);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--hamrig-border);
    margin: 0.5rem 0;
}

/* Radio form styles */
.connection-details {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--hamrig-dark-2);
    border-radius: 8px;
    border: 1px solid var(--hamrig-border-light);
}

/* Responsive adjustments for radio cards */
@media (max-width: 768px) {
    .radio-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .radio-actions {
        flex-direction: column;
    }
    
    .radio-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .radio-card {
        padding: 1rem;
    }
    
    .radio-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive adjustments for dashboard */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .location-nav-panel {
        max-height: 300px; /* Make nav scrollable on mobile */
        border-right: none;
        border-bottom: 1px solid var(--hamrig-border);
    }

    .location-detail-panel {
        padding: 1.5rem;
    }

    .detail-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Desktop Compact Layout - Aggressive Compactness for Large Screens */
@media (min-width: 1024px) {
    /* Premium Header - Much More Compact */
    .premium-header {
        padding: 1rem 0 0.75rem 0;
        margin-bottom: 1.25rem;
    }

    .page-header-content {
        gap: 1.5rem;
    }

    .page-title-section {
        gap: 0.75rem;
    }

    .page-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1.125rem;
    }

    .page-title {
        font-size: 1rem;
    }

    .page-subtitle {
        font-size: 0.8rem;
    }

    .page-header-actions {
        gap: 0.75rem;
    }

    /* Buttons - Much Smaller */
    .btn-premium {
        min-height: 34px;
        border-radius: 10px;
    }

    .btn-premium .btn-content {
        padding: 0.5rem 1rem;
        font-size: 0.775rem;
        gap: 0.375rem;
        border-radius: 10px;
    }

    .btn-premium.btn-lg .btn-content {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
        min-height: 40px;
    }

    /* Stats Grid - Much More Compact */
    .premium-stats-grid {
        gap: 0.75rem;
        margin-bottom: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .premium-stat-card {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .premium-stat-card .stat-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .premium-stat-card .stat-title {
        font-size: 0.65rem;
        margin-bottom: 0.375rem;
    }

    .premium-stat-card .stat-value {
        font-size: 1.5rem;
    }

    /* Dashboard Layout - Much More Compact */
    .premium-dashboard-layout {
        grid-template-columns: 240px 1fr;
        gap: 1.25rem;
    }

    .premium-location-nav {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .premium-location-detail {
        padding: 1rem;
        border-radius: 8px;
    }

    /* Navigation Items - Much Smaller */
    .location-nav-item {
        padding: 0.6rem;
        margin-bottom: 0.4rem;
        border-radius: 8px;
    }

    .nav-item-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .nav-item-title {
        font-size: 0.85rem;
        margin-bottom: 0.1rem;
    }

    .nav-item-details {
        font-size: 0.7rem;
    }

    .nav-item-radios {
        margin-top: 0.375rem;
    }

    .radio-count-badge {
        padding: 0.125rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    /* Detail Content - Compact */
    .detail-header {
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }

    .detail-title h2 {
        font-size: 1.25rem;
        margin: 0 0 0.25rem 0;
    }

    .detail-meta {
        gap: 0.1rem;
    }

    .maidenhead {
        font-size: 0.75rem;
    }

    .coordinates {
        font-size: 0.7rem;
    }

    .radios-title {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    /* Radio Cards - Much Smaller */
    .radio-list-detailed {
        gap: 0.4rem;
    }

    .radio-card {
        padding: 0.6rem;
        gap: 0.6rem;
        border-radius: 8px;
    }

    .radio-card-name {
        gap: 0.3rem;
        margin-bottom: 0.1rem;
    }

    .radio-icon {
        font-size: 0.8rem;
    }

    .radio-card-name span {
        font-size: 0.8rem;
    }

    .radio-card-model {
        font-size: 0.7rem;
    }

    .status-indicator {
        gap: 0.3rem;
        padding: 0.2rem 0.4rem;
        border-radius: 6px;
        font-size: 0.65rem;
    }

    .status-indicator i {
        font-size: 0.35rem;
    }

    .radio-card-actions .btn {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        font-size: 0.65rem;
    }

    /* Loading States - Compact */
    .premium-loading {
        padding: 1.25rem 0.6rem;
    }

    .loading-spinner-premium {
        width: 24px;
        height: 24px;
        margin-bottom: 0.6rem;
    }

    .premium-loading h4 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .premium-loading p {
        font-size: 0.75rem;
    }

    /* Empty States - Compact */
    .premium-empty-state {
        padding: 1.5rem 1rem;
    }

    .empty-state-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .premium-empty-state h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .empty-state-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .empty-state-hint {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
}

/* Extra Large Desktop - Even More Compact */
@media (min-width: 1440px) {
    .premium-dashboard-layout {
        grid-template-columns: 260px 1fr;
    }

    .premium-location-nav {
        padding: 0.875rem;
    }

    .location-nav-item {
        padding: 0.5rem;
        margin-bottom: 0.3rem;
    }

    .nav-item-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .nav-item-title {
        font-size: 0.8rem;
    }

    .nav-item-details {
        font-size: 0.65rem;
    }

    .premium-stat-card {
        padding: 0.8rem;
    }

    .premium-stat-card .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .premium-stat-card .stat-value {
        font-size: 1.375rem;
    }
}

/* Premium Modal Styling */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.premium-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.premium-modal-content {
    position: relative;
    z-index: 1051;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    max-width: 700px; /* Reduced from 900px */
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-modal-header {
    padding: 1rem 1.5rem 0.75rem 1.5rem; /* Reduced from 1.5rem 2rem 1rem 2rem */
    border-bottom: 1px solid var(--hamrig-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced from 1rem */
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* Reduced from 48px */
    height: 36px; /* Reduced from 48px */
    border-radius: 10px; /* Reduced from 12px */
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.125rem; /* Reduced from 1.5rem */
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.3), /* Reduced shadow */
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.modal-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.125rem; /* Reduced from 0.25rem */
}

.modal-title {
    font-size: 1.25rem; /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
    background: linear-gradient(135deg, var(--hamrig-light), var(--hamrig-light-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 0.8rem; /* Reduced from 0.875rem */
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 400;
}

.premium-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Reduced from 36px */
    height: 32px; /* Reduced from 36px */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem; /* Reduced from 1rem */
}

.premium-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

.premium-modal-body {
    padding: 0;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.premium-form {
    padding: 1rem 1.5rem; /* Reduced from 1.5rem 2rem */
}

.form-section {
    margin-bottom: 1.5rem; /* Reduced from 2rem */
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Reduced from 0.75rem */
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    padding-bottom: 0.5rem; /* Reduced from 0.75rem */
    border-bottom: 1px solid var(--hamrig-border);
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Reduced from 32px */
    height: 28px; /* Reduced from 32px */
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 0.75rem; /* Reduced from 0.875rem */
}

.section-title h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.125rem 0;
}

.section-title p {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.premium-form-group {
    margin-bottom: 0.5rem; /* Further reduced from 1rem */
}

.premium-form-group:last-child {
    margin-bottom: 0;
}

.premium-form-label {
    display: flex; /* Changed to flex to accommodate icons */
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem; /* Reduced from 0.875rem */
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem; /* Further reduced from 0.375rem */
}

.premium-form-label i {
    font-size: 0.75rem;
    color: var(--hamrig-primary);
}

.premium-form-control {
    width: 100%;
    padding: 0.5rem 0.75rem; /* Further reduced from 0.625rem 0.875rem */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px; /* Reduced from 10px */
    color: var(--hamrig-light);
    font-size: 0.8rem; /* Reduced from 0.875rem */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-form-control:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1); /* Reduced from 3px */
}

.premium-form-control::placeholder {
    color: var(--hamrig-light-3);
    font-size: 0.75rem; /* Reduced placeholder text */
}

/* Select Element Specific Styling */
select.premium-form-control {
    background: rgba(255, 255, 255, 0.03);
    color: var(--hamrig-light);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' fill-opacity='0.7' d='M8 13.1l-8-8 2.1-2.1 5.9 5.9 5.9-5.9 2.1 2.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center; /* Reduced from 0.75rem */
    background-size: 14px; /* Reduced from 16px */
    padding-right: 2.25rem; /* Reduced from 2.5rem */
}

select.premium-form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1); /* Reduced from 3px */
}

/* Option styling for better contrast */
select.premium-form-control option {
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light);
    padding: 0.5rem;
    border: none;
}

select.premium-form-control option:hover,
select.premium-form-control option:focus,
select.premium-form-control option:checked {
    background: var(--hamrig-primary);
    color: white;
}

/* For webkit browsers */
select.premium-form-control option:checked {
    background: var(--hamrig-primary) !important;
    color: white !important;
}

/* Fallback for browsers that don't support option styling */
@supports not (selector(option:checked)) {
    select.premium-form-control {
        background: var(--hamrig-dark-2);
        color: var(--hamrig-light);
    }
}

/* Additional form element contrast fixes */
.premium-modal select,
.premium-modal option {
    background: var(--hamrig-dark-2) !important;
    color: var(--hamrig-light) !important;
}

.premium-modal select option:checked,
.premium-modal select option:focus,
.premium-modal select option:hover {
    background: var(--hamrig-primary) !important;
    color: white !important;
}

/* Ensure form selects in modals have proper styling */
.premium-modal .premium-form-control,
.premium-form .premium-form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--hamrig-light) !important;
    border: 1px solid var(--hamrig-border) !important;
}

.premium-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-help {
    font-size: 0.7rem; /* Reduced from 0.75rem */
    color: var(--hamrig-light-3);
    margin-top: 0.125rem; /* Further reduced from 0.25rem */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-help i {
    font-size: 0.65rem; /* Smaller help icons */
}

.optional-text {
    font-size: 0.7rem; /* Reduced from 0.75rem */
    color: var(--hamrig-light-3);
    font-weight: 400;
}

/* Premium Tab Styling */
.premium-tab-container {
    margin: 1.5rem 0;
}

.premium-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.premium-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light-2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.premium-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.premium-tab.active {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.15),
        rgba(139, 95, 255, 0.10)
    );
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-tab.active .tab-icon {
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tab-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.tab-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Location Method Panels */
.location-method {
    display: none;
}

.location-method.active {
    display: block;
}

/* Premium Map Container */
.premium-map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--hamrig-dark-4);
    border: 1px solid var(--hamrig-border);
}

#locationMap {
    height: 400px;
    width: 100%;
}

.map-instructions {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
}

.instructions-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(22, 22, 26, 0.9);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px;
    color: var(--hamrig-light-2);
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

/* Input with Actions */
.input-with-actions {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-actions .premium-form-control {
    padding-right: 3rem;
}

.input-action-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.input-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
}

/* Search Results */
.search-results {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
}

.results-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    font-size: 0.8rem;
    font-weight: 600;
}

.results-list {
    max-height: 200px;
    overflow-y: auto;
}

/* Premium Info Grid */
.premium-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.premium-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hamrig-border);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.premium-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--hamrig-light-2);
    font-size: 0.8rem;
    font-weight: 600;
}

.info-card-value {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 600;
}

.placeholder-text {
    color: var(--hamrig-light-3);
    font-style: italic;
    font-family: inherit;
}

/* Premium Modal Footer */
.premium-modal-footer {
    padding: 0.75rem 1.5rem 1rem 1.5rem; /* Reduced from 1rem 2rem 1.5rem 2rem */
    border-top: 1px solid var(--hamrig-border);
    background: rgba(255, 255, 255, 0.02);
}

.modal-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem; /* Reduced from 1rem */
}

.modal-footer-actions .btn-premium {
    height: 36px; /* Compact button height */
    min-height: 36px;
}

.modal-footer-actions .btn-premium .btn-content {
    padding: 0.5rem 1rem; /* Reduced padding for footer buttons */
    font-size: 0.8rem; /* Smaller text */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hamrig-light-3);
    color: var(--hamrig-light);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .premium-modal {
        padding: 0.5rem;
    }
    
    .premium-modal-content {
        border-radius: 12px;
        max-height: 95vh;
    }
    
    .premium-modal-header {
        padding: 1rem 1.5rem 0.75rem 1.5rem;
    }
    
    .modal-header-content {
        gap: 0.75rem;
    }
    
    .modal-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .premium-form {
        padding: 1rem 1.5rem;
    }
    
    .premium-modal-footer {
        padding: 0.75rem 1.5rem 1rem 1.5rem;
    }
    
    .premium-tabs {
        grid-template-columns: 1fr;
    }
    
    .premium-info-grid {
        grid-template-columns: 1fr;
    }
    
    #locationMap {
        height: 300px;
    }
}

/* Premium Radio Modal Styling */
.premium-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    appearance: none;
}

.premium-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.connection-details {
    margin-top: 1rem;
}

.premium-details-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.details-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.details-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 0.875rem;
}

.details-title h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.125rem 0;
}

.details-title p {
    font-size: 0.75rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.premium-info-notice {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.info-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-notice-content i {
    color: var(--hamrig-primary);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.info-notice-content p {
    margin: 0 0 0.5rem 0;
    color: var(--hamrig-light-2);
    font-size: 0.85rem;
    line-height: 1.4;
}

.info-notice-content p:last-child {
    margin-bottom: 0;
}

.modal-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-footer-help {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hamrig-light-3);
    font-size: 0.8rem;
}

.modal-footer-help i {
    color: var(--hamrig-primary);
}

.help-link {
    color: var(--hamrig-primary);
    text-decoration: none;
    font-weight: 500;
}

.help-link:hover {
    text-decoration: underline;
}

/* Enhanced Modal Responsiveness */
@media (max-width: 768px) {
    .modal-footer-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-footer-actions {
        order: -1;
        justify-content: center;
    }
    
    .modal-footer-help {
        justify-content: center;
        text-align: center;
    }
    
    .premium-form-row {
        grid-template-columns: 1fr;
    }
    
    .premium-details-card {
        padding: 1rem;
    }
}

/* ================================================
   PREMIUM RADIO CARD SYSTEM
   ================================================ */

.premium-radio-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.premium-radio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 29, 29, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-radio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 29, 29, 0.3);
    box-shadow: 0 8px 40px rgba(139, 29, 29, 0.15);
}

.premium-radio-card:hover::before {
    opacity: 1;
}

/* Radio Card Header */
.premium-radio-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.5rem 1rem;
    position: relative;
}

.radio-header-main {
    flex: 1;
}

.radio-brand-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.radio-brand-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background: var(--hamrig-brand-gradient);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.radio-brand-badge i {
    font-size: 0.75rem;
}

.radio-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
}

.radio-status-indicator.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.radio-status-indicator.offline {
    background: rgba(107, 114, 128, 0.15);
    color: #9CA3AF;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: relative;
}

.radio-status-indicator.online .status-pulse {
    background: #10B981;
    animation: pulse-green 2s infinite;
}

.radio-status-indicator.offline .status-pulse {
    background: #9CA3AF;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.radio-title-section {
    margin-bottom: 0;
}

.radio-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.125rem 0;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.radio-model {
    font-size: 0.75rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

/* Shared Radio Badge */
.shared-radio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    color: #60a5fa;
    font-weight: 500;
}

.shared-radio-badge i {
    font-size: 0.65rem;
}

/* Owner Radio Badge for Admin View */
.owner-radio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 500;
}

.owner-radio-badge i {
    font-size: 0.65rem;
}

/* Operation Mode Badge Colors */
.operation-mode-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Owner Mode - Blue */
.info-badge.operation-mode-badge[data-mode="owner"] {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #60A5FA !important;
}

/* Shared Mode - Green */
.info-badge.operation-mode-badge[data-mode="shared"] {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #22C55E !important;
}

/* Scheduled Mode - Purple */
.info-badge.operation-mode-badge[data-mode="scheduled"] {
    background: rgba(168, 85, 247, 0.15) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    color: #A855F7 !important;
}

/* Hybrid Mode - Orange/Amber */
.info-badge.operation-mode-badge[data-mode="share+schedule"] {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #F59E0B !important;
}

/* Version Badge - Cyan/Teal */
.info-badge.version-badge {
    background: rgba(6, 182, 212, 0.15) !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
    color: #06B6D4 !important;
}

/* Radio Card Section Titles - Smaller than radio name */
.premium-radio-card .radio-operating-section .section-title,
.premium-radio-card .connected-clients-section .section-title {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: var(--hamrig-light-2) !important;
    margin-bottom: 0.75rem !important;
}

.premium-radio-card .radio-operating-section .section-title i,
.premium-radio-card .connected-clients-section .section-title i {
    font-size: 0.75rem !important;
    color: var(--hamrig-primary) !important;
}

/* Collapsible Connected Clients Section */
.premium-radio-card .connected-clients-section .collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    user-select: none;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 8px;
}

.premium-radio-card .connected-clients-section .collapsible-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.premium-radio-card .connected-clients-section .section-title-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.premium-radio-card .connected-clients-section .client-count {
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    font-weight: 400;
}

.premium-radio-card .connected-clients-section .collapse-icon {
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    transition: transform 0.2s ease;
}

.premium-radio-card .connected-clients-section .collapsible-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Default collapsed state - content hidden */
.premium-radio-card .connected-clients-section.collapsed .collapsible-content {
    display: none;
}

/* Collapsed state icon pointing right */
.premium-radio-card .connected-clients-section.collapsed .collapse-icon {
    transform: rotate(0deg);
}

/* Shared Radio Card Visual Indicator */
.premium-radio-card.shared-radio {
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.premium-radio-card.shared-radio::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.premium-radio-card.shared-radio:hover::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}

/* Radio Menu Section */
.radio-menu-section {
    position: relative;
}

.premium-menu-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-2);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.8rem;
}

.premium-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

.premium-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(20, 24, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.premium-dropdown-content {
    padding: 0.5rem 0;
}

.premium-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    color: var(--hamrig-light-2);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.premium-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--hamrig-light);
}

/* =============================================== */
/* == DOWNLOAD PAGE STYLES                      == */
/* =============================================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Reduced from 350px */
    gap: 1.5rem; /* Reduced from 2rem */
    margin-bottom: 1.5rem; /* Reduced from 2rem */
}

.download-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Reduced from 16px */
    padding: 1.5rem; /* Reduced from 2rem */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px; /* Reduced from 360px */
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.download-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 
        0 12px 40px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(220, 38, 38, 0.1);
}

.download-card:hover::before {
    opacity: 0.05;
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced from 1rem */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Reduced from 56px */
    height: 44px; /* Reduced from 56px */
    border-radius: 12px; /* Reduced from 16px */
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.5rem; /* Reduced from 1.75rem */
    box-shadow: 
        0 6px 18px rgba(220, 38, 38, 0.3), /* Reduced shadow */
        0 0 0 1px rgba(220, 38, 38, 0.2);
    flex-shrink: 0;
}

.download-card-title {
    display: flex;
    flex-direction: column;
    gap: 0.125rem; /* Reduced from 0.25rem */
}

.download-platform {
    font-size: 1.25rem; /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0;
    line-height: 1.2;
}

.download-architecture {
    font-size: 0.8rem; /* Reduced from 0.875rem */
    color: var(--hamrig-light-2);
    font-weight: 500;
    margin: 0;
}

.download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Reduced from 1rem */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.version-info {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced from 1rem */
    padding: 0.75rem; /* Reduced from 1rem */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px; /* Reduced from 12px */
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem; /* Reduced from 0.5rem */
    padding: 0.25rem 0.5rem; /* Reduced from 0.375rem 0.75rem */
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    border-radius: 6px; /* Reduced from 8px */
    color: white;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3); /* Reduced shadow */
    flex-shrink: 0;
}

.version-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.version-number {
    font-size: 0.85rem; /* Reduced from 0.9rem */
    font-weight: 600;
    color: var(--hamrig-light);
    font-family: 'Courier New', monospace;
}

.version-date {
    font-size: 0.7rem; /* Reduced from 0.75rem */
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.download-file-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.file-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-info-label {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-info-value {
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.system-requirements {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem;
}

.requirements-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirements-title i {
    color: var(--hamrig-primary);
    font-size: 0.75rem;
}

.requirements-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.requirements-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hamrig-primary);
    flex-shrink: 0;
}

.download-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Reduced from 0.75rem */
    padding: 0.75rem 1.25rem; /* Reduced from 1rem 1.5rem */
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    border: none;
    border-radius: 10px; /* Reduced from 12px */
    color: white;
    font-size: 0.85rem; /* Reduced from 0.95rem */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Reduced from 52px */
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(220, 38, 38, 0.3);
    text-decoration: none;
    color: white;
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.download-btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.download-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.download-secondary-actions {
    display: flex;
    gap: 0.5rem;
}

.download-secondary-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--hamrig-light-2);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-primary);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Coming Soon Card Styling */
.download-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.download-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
    pointer-events: none;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    color: #F59E0B;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.coming-soon-content {
    text-align: center;
    padding: 2rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.coming-soon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.coming-soon-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.coming-soon-text {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
    line-height: 1.5;
}

.notify-btn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.notify-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #F59E0B;
    color: #F59E0B;
}

/* Changelog Section */
.changelog-section {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.changelog-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.changelog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    line-height: 1.4;
}

.changelog-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hamrig-primary);
    margin-top: 0.4rem;
    flex-shrink: 0;
}

/* Download Page Loading States */
.download-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
}

.download-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--hamrig-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.download-loading h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.download-loading p {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.download-error {
    text-align: center;
    padding: 2rem;
    color: var(--hamrig-light-2);
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.download-error i {
    font-size: 2rem;
    color: #EF4444;
    margin-bottom: 1rem;
}

.download-error h4 {
    color: #EF4444;
    margin: 0 0 0.5rem 0;
}

.download-error p {
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Download Page */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .download-card-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .download-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .download-platform {
        font-size: 1.25rem;
    }
    
    .download-file-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .version-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .download-secondary-actions {
        flex-direction: column;
    }
    
    .coming-soon-content {
        padding: 1.5rem 0;
    }
    
    .coming-soon-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}

/* =============================================== */
/* == SUPPORTED RADIOS SECTION                  == */
/* =============================================== */

.supported-radios-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.supported-radios-section .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.supported-radios-section .section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hamrig-primary), #b91c1c);
    color: white;
    font-size: 1.25rem;
    box-shadow: 
        0 6px 18px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

.supported-radios-section .section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.25rem 0;
}

.supported-radios-section .section-title p {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.support-legend {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.legend-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-item.supported .legend-indicator {
    background: #10B981; /* Green */
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.legend-item.experimental .legend-indicator {
    background: #3B82F6; /* Blue */
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.legend-item.unsupported .legend-indicator {
    background: #EF4444; /* Red */
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.legend-item.supported span {
    color: #10B981;
}

.legend-item.experimental span {
    color: #3B82F6;
}

.legend-item.unsupported span {
    color: #EF4444;
}

.supported-radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.radio-model-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.radio-model-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.radio-model-card.supported {
    border-color: rgba(16, 185, 129, 0.2);
}

.radio-model-card.supported:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.radio-model-card.experimental {
    border-color: rgba(59, 130, 246, 0.2);
}

.radio-model-card.experimental:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.radio-model-card.unsupported {
    border-color: rgba(239, 68, 68, 0.2);
}

.radio-model-card.unsupported:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.radio-model-card .radio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.2), 
        rgba(185, 28, 28, 0.2));
    color: var(--hamrig-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.radio-model-card.supported .radio-icon {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(5, 150, 105, 0.2));
    color: #10B981;
}

.radio-model-card.experimental .radio-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2), 
        rgba(37, 99, 235, 0.2));
    color: #3B82F6;
}

.radio-model-card.unsupported .radio-icon {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.2), 
        rgba(220, 38, 38, 0.2));
    color: #EF4444;
}

.radio-model-card .radio-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.125rem 0;
    font-family: 'Courier New', monospace;
}

.radio-model-card .radio-info p {
    font-size: 0.75rem;
    color: var(--hamrig-light-2);
    margin: 0;
    line-height: 1.3;
}

.radio-model-card .support-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.radio-model-card.supported .support-indicator {
    background: #10B981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.radio-model-card.experimental .support-indicator {
    background: #3B82F6;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

.radio-model-card.unsupported .support-indicator {
    background: #EF4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* Responsive supported radios */
@media (max-width: 768px) {
    .supported-radios-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }
    
    .radio-model-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .radio-model-card .radio-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .radio-model-card .support-indicator {
        top: 0.5rem;
        right: 0.5rem;
        width: 6px;
        height: 6px;
    }
    
    .support-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
    }
    
    .legend-indicator {
        width: 10px;
        height: 10px;
    }
    
    .supported-radios-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }
    
    .supported-radios-section .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .download-card {
        padding: 1rem;
    }
    
    .download-card-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .download-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .download-platform {
        font-size: 1.125rem;
    }
    
    .version-info {
        padding: 0.75rem;
    }
    
    .system-requirements {
        padding: 0.75rem;
    }
}

.premium-dropdown-item.danger {
    color: #EF4444;
}

.premium-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.premium-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Radio Info Badges */
.radio-info-badges {
    padding: 0 1rem 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.badge-row-break {
    flex-basis: 100%;
    height: 0;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--hamrig-light-2);
    position: relative;
}

.status-badge.online {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

.location-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--hamrig-light-2);
}

.location-badge i {
    color: var(--hamrig-primary);
    font-size: 0.75rem;
}

.gateway-key-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--hamrig-light-2);
    position: relative;
}

.gateway-key-badge i {
    color: #60A5FA;
    font-size: 0.75rem;
}

/* Client Interface Permission Badges */
.os-badge {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.2);
    color: var(--hamrig-light-2);
}

.callsign-badge {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    font-weight: 600;
}

.ip-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

/* Proxy connection badge */
.proxy-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--hamrig-light-2);
}

.proxy-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

/* Removed server icon styling - now just flag + text */

.proxy-badge .proxy-flag {
    width: 16px;
    height: 12px;
    margin-right: 0.25rem;
    border-radius: 2px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: opacity 0.2s ease;
}

.proxy-badge .proxy-flag:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.proxy-badge.offline .proxy-flag {
    filter: grayscale(100%) opacity(0.6);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Loading state for flag images */
.proxy-badge .proxy-flag[src*="flagsapi.com"] {
    background: rgba(255, 255, 255, 0.1);
}

.proxy-badge .proxy-flag:not([src]),
.proxy-badge .proxy-flag[src=""] {
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.proxy-badge .proxy-flag:not([src])::after,
.proxy-badge .proxy-flag[src=""]::after {
    content: "🌐";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
}

.premium-tab-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hamrig-light);
}

/* Admin Dashboard Proxy Network Styles */\n.proxy-card {\n    border-left: 4px solid #007bff;\n}\n\n.proxy-admin {\n    background: linear-gradient(135deg, #007bff, #0056b3);\n    color: white;\n}\n\n.proxy-gateways {\n    max-height: 400px;\n    overflow-y: auto;\n}\n\n.gateway-item {\n    border: 1px solid rgba(255, 255, 255, 0.1);\n    border-radius: 8px;\n    margin-bottom: 8px;\n    background: rgba(255, 255, 255, 0.05);\n}\n\n.gateway-flat-card {\n    border-left: 4px solid #28a745;\n}\n\n.gateway-clients {\n    margin-top: 8px;\n    padding: 8px;\n    background: rgba(255, 255, 255, 0.05);\n    border-radius: 4px;\n    display: flex;\n    flex-wrap: wrap;\n    gap: 4px;\n    align-items: center;\n}\n\n.client-mini-badge {\n    background-color: #495057;\n    color: #fff;\n    padding: 2px 6px;\n    border-radius: 10px;\n    font-size: 10px;\n    font-weight: 500;\n}\n\n.proxy-card .premium-radio-header {\n    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));\n}\n\n.gateway-flat-card .premium-radio-header {\n    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));\n}\n\n#proxyNetworkGrid .premium-grid {\n    gap: 20px;\n}\n\n.flag-icon {\n    width: 16px;\n    height: 12px;\n    border-radius: 2px;\n    filter: grayscale(100%);\n    opacity: 0.8;\n}\n\n/* Radio compact badges */
.clients-badge {
    background: rgba(139, 92, 246, 0.15); /* violet */
    border-color: rgba(139, 92, 246, 0.3);
    color: #A78BFA;
}

.vfo-badge {
    background: rgba(34, 211, 238, 0.15); /* cyan */
    border-color: rgba(34, 211, 238, 0.3);
    color: #22D3EE;
}

.mode-badge {
    background: rgba(245, 158, 11, 0.15); /* amber */
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.club-badge {
    background: rgba(59, 130, 246, 0.15); /* blue */
    border-color: rgba(59, 130, 246, 0.3);
    color: #60A5FA;
}

/* Pricing badges */
.price-badge { font-weight: 700; }
.price-badge.free {
    background: rgba(16, 185, 129, 0.15); /* green */
    border-color: rgba(16, 185, 129, 0.3);
    color: #10B981;
}
.price-badge.silver {
    background: rgba(96, 165, 250, 0.15); /* blue */
    border-color: rgba(96, 165, 250, 0.3);
    color: #60A5FA;
}
.price-badge.gold {
    background: rgba(245, 158, 11, 0.15); /* amber */
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}
.price-badge.platinum {
    background: rgba(139, 92, 246, 0.15); /* violet */
    border-color: rgba(139, 92, 246, 0.3);
    color: #A78BFA;
}
.price-badge.patron {
    background: rgba(236, 72, 153, 0.15); /* rose */
    border-color: rgba(236, 72, 153, 0.3);
    color: #EC4899;
}
.price-badge.club-silver {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}
.price-badge.club-gold {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}
.price-badge.club-platinum {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
}

/* Savings and active plan highlighting */
.save-badge {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
    color: #22C55E;
    font-weight: 700;
}

.premium-radio-card.active-plan {
    border-color: var(--hamrig-primary);
    box-shadow: 0 8px 30px rgba(139, 29, 29, 0.18);
    position: relative;
}

.premium-radio-card.active-plan::after {
    content: 'Current';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    color: white;
    background: var(--hamrig-brand-gradient);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Comparison tables (glassy) */
.comparison-card .comparison-table {
    width: 100%;
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    border-collapse: collapse;
    overflow: hidden;
}

.comparison-card .comparison-table th,
.comparison-card .comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.comparison-card .comparison-table th {
    text-align: left;
    color: var(--hamrig-light);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
}

.comparison-card .comparison-table tr:last-child td { border-bottom: none; }
.comparison-card .comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Compact radio status chip to match badge style */
.compact-radio-card .radio-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    border: 1px solid transparent;
}

.compact-radio-card .radio-status i { font-size: 0.6rem; }

.compact-radio-card .radio-status.online {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.compact-radio-card .radio-status.busy {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.compact-radio-card .radio-status.offline {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: #9CA3AF;
}

/* Permission Control Badges */
.control-permission-badge,
.tx-permission-badge,
.block-permission-badge {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    border: 1px solid transparent;
}

.control-permission-badge:hover,
.tx-permission-badge:hover,
.block-permission-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Control Permission Badge States */
.control-permission-badge.control-active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.control-permission-badge.control-inactive {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: var(--hamrig-light-2);
}

.control-permission-badge.control-inactive:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

/* TX Permission Badge States */
.tx-permission-badge.tx-active {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.3);
    color: #FB923C;
}

.tx-permission-badge.tx-inactive {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: var(--hamrig-light-2);
}

.tx-permission-badge.tx-inactive:hover {
    background: rgba(107, 114, 128, 0.15);
    border-color: rgba(107, 114, 128, 0.3);
    color: var(--hamrig-light-1);
}

.tx-permission-badge.tx-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tx-permission-badge.tx-disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: var(--hamrig-light-2);
}

/* Block Permission Badge States */
.block-permission-badge.block-active {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.block-permission-badge.block-inactive {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: var(--hamrig-light-2);
}

.block-permission-badge.block-inactive:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.copy-gateway-btn {
    background: rgba(96, 165, 250, 0.2);
    border: none;
    border-radius: 6px;
    padding: 0.25rem;
    color: #60A5FA;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.25rem;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-gateway-btn:hover {
    background: rgba(96, 165, 250, 0.3);
    transform: scale(1.1);
}

/* VFO Data Section */
.vfo-data-section {
    padding: 0 0 0.75rem 0; /* Remove horizontal padding since parent radio-operating-section provides it */
}

.vfo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--hamrig-light);
    font-weight: 600;
    font-size: 0.875rem;
}

.vfo-header i {
    color: var(--hamrig-primary);
}

/* Compact VFO display */
.vfo-compact-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
}

/* Horizontal VFO layout */
.vfo-line-horizontal {
    display: flex;
    gap: 1.5rem;
}

.vfo-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vfo-label {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    min-width: 45px;
}

.vfo-freq {
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    min-width: 85px;
}

.vfo-mode {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

/* Compact System Statistics */
.system-stats-compact {
    padding: 0 0 0.75rem 0; /* Remove horizontal padding since parent radio-operating-section provides it */
}

.compact-stats {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
}

.compact-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.65rem;
    color: var(--hamrig-light-3);
}

.compact-stat i {
    color: var(--hamrig-primary);
    font-size: 0.65rem;
    width: 10px;
    text-align: center;
}

.compact-stat span {
    font-family: 'JetBrains Mono', monospace;
}

/* Connected Clients Section */
.connected-clients-section {
    margin-top: 0.25rem;
    padding: 0 1.5rem 0.75rem 1.5rem; /* Changed from 0 1rem 0.75rem 1rem to match radio-operating-section */
}

.connected-clients-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
}

.client-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.client-item:last-child {
    border-bottom: none;
}

.client-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.client-info i {
    color: var(--hamrig-primary);
    width: 14px;
    text-align: center;
    margin-top: 0.125rem;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.client-header {
    margin-bottom: 0.5rem;
}

.client-ip {
    font-family: 'JetBrains Mono', monospace;
    color: var(--hamrig-light);
    font-weight: 600;
    font-size: 0.85rem;
}

.client-platform {
    color: var(--hamrig-light-2);
    font-size: 0.75rem;
}

.client-connection-stats,
.client-interface-stats,
.client-transfer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.125rem;
}

.client-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--hamrig-light-2);
}

.client-stat i {
    width: 10px;
    color: var(--hamrig-light-3);
    font-size: 0.65rem;
}

.client-status {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

.client-webrtc-status,
.client-dtls-status {
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.webrtc-connected {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.webrtc-disconnected {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.client-uptime {
    font-family: 'JetBrains Mono', monospace;
    color: var(--hamrig-light-2);
    font-size: 0.7rem;
    white-space: nowrap;
}

.client-status-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-control-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.no-clients-message {
    text-align: center;
    color: var(--hamrig-light-2);
    font-style: italic;
    padding: 1rem 0;
    font-size: 0.8rem;
}

/* Responsive Design for Radio Cards */
@media (max-width: 768px) {
    .radio-info-badges {
        padding: 0 1rem 1rem 1rem;
        gap: 0.5rem;
    }
    
    .info-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        height: 28px;
    }
    
    .vfo-data-section,
    .system-stats-compact,
    .connected-clients-section {
        padding: 0 1rem 1rem 1rem;
    }
    
    .vfo-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .client-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .client-connection-stats,
    .client-interface-stats,
    .client-transfer-stats {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .client-status {
        align-self: flex-end;
        margin-top: 0;
    }
}

.gateway-key-badge i {
    color: #60A5FA;
    font-size: 0.75rem;
}

.copy-gateway-btn {
    background: rgba(96, 165, 250, 0.2);
    border: none;
    border-radius: 6px;
    padding: 0.25rem;
    color: #60A5FA;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.25rem;
}

.copy-gateway-btn:hover {
    background: rgba(96, 165, 250, 0.3);
    transform: scale(1.1);
}

/* VFO Data Grid */
.vfo-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vfo-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
}

.vfo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--hamrig-light);
    font-weight: 600;
    font-size: 0.875rem;
}

.vfo-header i {
    color: var(--hamrig-primary);
}

.vfo-params {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vfo-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-label {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.param-value {
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

/* System Statistics */
.system-stats {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-item i {
    color: var(--hamrig-primary);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vfo-data-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-info-badges {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Radio Operating Section */
.radio-operating-section {
    padding: 0 1.5rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    padding: 0.5rem 0;
}

.section-title i {
    color: var(--hamrig-primary);
}

.radio-parameters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.parameter-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.875rem;
    text-align: center;
    transition: all 0.3s ease;
}

.parameter-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.parameter-icon {
    margin-bottom: 0.5rem;
}

.parameter-card.frequency .parameter-icon i {
    color: #10B981;
}

.parameter-card.mode .parameter-icon i {
    color: #F59E0B;
}

.parameter-card.power .parameter-icon i {
    color: #EF4444;
}

.parameter-card.swr .parameter-icon i {
    color: #8B5CF6;
}

.parameter-card.signal .parameter-icon i {
    color: #06B6D4;
}

.parameter-card.frequency-b .parameter-icon i {
    color: #059669;
}

.parameter-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem;
}

.parameter-label {
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Radio Offline Section */
.radio-offline-section {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
    padding-top: 1.5rem;
}

.offline-status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(107, 114, 128, 0.08);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 12px;
}

.offline-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(107, 114, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 1rem;
}

.offline-content h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
}

.offline-content p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
}

/* Radio Description Section */
.radio-description-section {
    padding: 0 1.5rem 1rem 1.5rem;
}

.description-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    line-height: 1.4;
}

.description-content i {
    color: var(--hamrig-primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Radio Actions Section */
.radio-actions-section {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.premium-action-btn {
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.premium-action-btn.primary {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.premium-action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.premium-action-btn.secondary {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hamrig-light-2);
}

.premium-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--hamrig-light);
}

.premium-action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.premium-action-btn.icon-only {
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hamrig-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-action-btn.icon-only:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-action-btn.primary:hover .btn-glow {
    opacity: 1;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-radio-card {
        margin-bottom: 1rem;
    }
    
    .premium-radio-header {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    }
    
    .radio-brand-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .radio-parameters-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .parameter-card {
        padding: 0.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .premium-action-btn.icon-only {
        width: 100%;
        height: 44px;
    }
    
    .radio-actions-section .action-buttons .btn-premium {
        width: 100%;
        min-height: 44px;
    }
    
    .radio-actions-section .action-buttons .radio-action-btn,
    .club-card .radio-actions-section .action-buttons .radio-action-btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .radio-operating-section,
    .radio-offline-section,
    .radio-actions-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .premium-radio-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
}

/* ================================================
   PREMIUM LOCATION CARD SYSTEM
   ================================================ */

.premium-location-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.premium-location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-location-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.15);
}

.premium-location-card:hover::before {
    opacity: 1;
}

/* Location Card Header */
.premium-location-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
}

.location-header-main {
    flex: 1;
}

.location-type-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.location-type-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-type-badge i {
    font-size: 0.875rem;
}

.location-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
}

.location-status-indicator.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.location-status-indicator.inactive {
    background: rgba(107, 114, 128, 0.15);
    color: #9CA3AF;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.location-status-indicator.active .status-pulse {
    background: #10B981;
    animation: pulse-green 2s infinite;
}

.location-status-indicator.inactive .status-pulse {
    background: #9CA3AF;
}

.location-title-section {
    margin-bottom: 0;
}

.location-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.025em;
}

.location-address {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 500;
}

/* Location Menu Section - Reuses radio menu styles */
.location-menu-section {
    position: relative;
}

/* Location Statistics Section */
.location-statistics-section {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
    padding-top: 1.5rem;
}

.location-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.875rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.stat-icon {
    margin-bottom: 0.5rem;
}

.stat-card.radios .stat-icon i {
    color: #dc2626;
}

.stat-card.grid .stat-icon i {
    color: #F59E0B;
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Location Coordinates Section */
.location-coordinates-section {
    padding: 0 1.5rem 1rem 1.5rem;
}

.coordinates-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.coordinates-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.coordinates-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
}

.coordinates-header i {
    color: var(--hamrig-primary);
}

.coordinates-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coordinate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coordinate-label {
    font-size: 0.8rem;
    color: var(--hamrig-light-3);
    font-weight: 500;
}

.coordinate-value {
    font-size: 0.8rem;
    color: var(--hamrig-light);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Location Description Section - Reuses radio description styles */
.location-description-section {
    padding: 0 1.5rem 1rem 1.5rem;
}

/* Location Actions Section - Reuses radio actions styles */
.location-actions-section {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive Design for Location Cards */
@media (max-width: 768px) {
    .premium-location-card {
        margin-bottom: 1rem;
    }
    
    .premium-location-header {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    }
    
    .location-type-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .location-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .coordinates-display {
        gap: 0.375rem;
    }
}

@media (max-width: 480px) {
    .location-statistics-section,
    .location-coordinates-section,
    .location-actions-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .premium-location-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .coordinate-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ================================================
   COMPACT LOCATION CARDS
   ================================================ */

.premium-location-card.compact {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 280px;
}

.premium-location-card.compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.premium-location-card.compact .premium-location-header {
    padding: 1rem 1.25rem 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.premium-location-card.compact .location-header-main {
    flex: 1;
    min-width: 0;
}

.premium-location-card.compact .location-menu-section {
    flex-shrink: 0;
    align-self: flex-start;
}

.premium-location-card.compact .location-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
}

.location-status.active {
    color: var(--hamrig-success);
}

.location-status.inactive {
    color: var(--hamrig-light-3);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.location-info-compact {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.info-row {
    margin-bottom: 0.5rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.info-item i {
    width: 12px;
    color: var(--hamrig-primary);
    font-size: 0.7rem;
}

.info-label {
    color: var(--hamrig-light-3);
    font-weight: 500;
    min-width: 45px;
}

.info-value {
    color: var(--hamrig-light);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.7rem;
}

.location-map-preview {
    height: 120px;
    position: relative;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.map-preview-container {
    width: 100%;
    height: 100%;
    background: var(--hamrig-dark-3);
}

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--hamrig-light-3);
    font-size: 1.5rem;
}

.map-preview-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--hamrig-light-3);
    font-size: 0.75rem;
    gap: 0.25rem;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.5rem;
}

.premium-location-card.compact:hover .map-overlay {
    opacity: 1;
}

/* Responsive adjustments for compact cards */
@media (max-width: 768px) {
    .premium-location-card.compact {
        min-height: 260px;
    }
    
    .premium-location-card.compact .premium-location-header {
        padding: 0.875rem 1rem 0.625rem 1rem;
    }
    
    .location-info-compact {
        padding: 0.625rem 1rem;
    }
    
    .location-map-preview {
        height: 100px;
    }
}

/* ================================================
   PREMIUM DASHBOARD CARD SYSTEM
   ================================================ */

/* Premium Location Navigation Items - Compact Button Style */
.premium-location-nav-item {
    display: block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.compact-location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.location-info {
    flex: 1;
    min-width: 0;
}

.location-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--hamrig-light-muted);
}

.radio-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #10b981;
}

.online-indicator i {
    font-size: 0.5rem;
}

.selection-arrow {
    color: var(--hamrig-light-muted);
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.premium-location-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-location-nav-item:hover {
    transform: translateX(4px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    text-decoration: none;
    color: inherit;
}

.premium-location-nav-item:hover::before {
    opacity: 1;
}

.premium-location-nav-item:hover .selection-arrow {
    color: var(--hamrig-primary);
    transform: translateX(2px);
}

.premium-location-nav-item.active {
    border-color: var(--hamrig-primary);
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.15) 0%, 
        rgba(220, 38, 38, 0.08) 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
    transform: translateX(4px);
}

.premium-location-nav-item.active .selection-arrow {
    color: var(--hamrig-primary);
}

/* Location Nav Header */
.location-nav-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.location-nav-main {
    flex: 1;
}

.location-nav-stats {
    margin-bottom: 1rem;
}

.nav-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.nav-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.nav-stat-icon {
    margin-bottom: 0.375rem;
}

.nav-stat-card.radios .nav-stat-icon i {
    color: #dc2626;
    font-size: 0.875rem;
}

.nav-stat-card.online .nav-stat-icon i {
    color: #10B981;
    font-size: 0.875rem;
}

.nav-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin-bottom: 0.125rem;
}

.nav-stat-label {
    font-size: 0.65rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.location-nav-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    color: var(--hamrig-light-3);
    font-size: 0.75rem;
}

/* Premium Detail Header */
.premium-detail-header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.detail-title-section {
    flex: 1;
}

.detail-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.location-detail-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.location-detail-subtitle {
    font-size: 1rem;
    color: var(--hamrig-light-2);
    margin: 0;
    font-weight: 500;
}

.detail-location-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.detail-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.detail-info-card .info-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
}

.detail-info-card .info-card-header i {
    color: var(--hamrig-primary);
}

.detail-info-card .info-card-value {
    font-size: 0.875rem;
    color: var(--hamrig-light);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Radios Section Header */
.radios-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.radios-section-header .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hamrig-light);
}

.radios-section-header .section-title i {
    color: var(--hamrig-primary);
}

.section-badge {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 0.25rem 0.75rem;
}

.radio-count {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hamrig-primary);
}

/* New Dashboard Content Layout */
.dashboard-content {
    background-color: var(--hamrig-dark-2);
    border-radius: 12px;
    border: 1px solid var(--hamrig-border);
    overflow: hidden;
}

/* Location Selector Section */
.location-selector-section {
    padding: 2rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.selector-header {
    margin-bottom: 1.5rem;
}

.selector-header h2 {
    color: var(--hamrig-light);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.selector-header p {
    color: var(--hamrig-light-2);
    margin: 0;
}

.location-selector {
    position: relative;
    min-height: 100px;
}

.selector-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--hamrig-light-2);
}

.selector-loading i {
    font-size: 1.25rem;
    color: var(--hamrig-primary);
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--hamrig-light);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.location-button:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-color: var(--hamrig-primary);
    transform: translateY(-2px);
}

.location-button.active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
}

.location-button-info {
    flex: 1;
}

.location-button-name {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.location-button-details {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.location-button.active .location-button-details {
    color: rgba(255, 255, 255, 0.8);
}

.selector-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.selector-empty .empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.selector-empty i {
    font-size: 3rem;
    color: var(--hamrig-light-3);
    margin-bottom: 1rem;
}

.selector-empty h3 {
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.selector-empty p {
    color: var(--hamrig-light-2);
    margin: 0 0 1.5rem 0;
}

/* Selected Location Section */
.selected-location-section {
    padding: 2rem;
}

.selected-location-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.location-details h2 {
    color: var(--hamrig-light);
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
}

.location-details p {
    color: var(--hamrig-light-2);
    margin: 0;
}

.location-header-actions {
    margin-left: 1rem;
}

/* Location Radios */
.radios-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.radios-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--hamrig-light);
    font-size: 1.25rem;
    margin: 0;
}

.radios-header i {
    color: var(--hamrig-primary);
}

.radios-count {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dashboard-radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.radios-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.radios-empty .empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.radios-empty i {
    font-size: 3rem;
    color: var(--hamrig-light-3);
    margin-bottom: 1rem;
}

.radios-empty h4 {
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.radios-empty p {
    color: var(--hamrig-light-2);
    margin: 0 0 1.5rem 0;
}

/* Dashboard Location Header */
.location-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid var(--hamrig-border);
    margin-bottom: 1.5rem;
}

.location-info {
    flex: 1;
}

.location-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin: 0 0 0.5rem 0;
}

.location-address {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    margin: 0;
}

.location-actions {
    margin-left: 1rem;
}

/* Dashboard Radios Section */
.radios-section {
    padding: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

.section-title i {
    color: var(--hamrig-primary);
}

.radio-count {
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Dashboard Radios Grid */
.radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Premium Radios Section */
.premium-radios-section {
    padding: 1.5rem 0 0 0;
}

.radios-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.radios-section-header .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

.radios-section-header .section-title i {
    color: var(--hamrig-primary);
    font-size: 0.85rem;
}

.radio-count-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

/* Premium Dashboard Radios Grid */
.premium-dashboard-radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Premium Dashboard Radio Cards */
.premium-dashboard-radio-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.premium-dashboard-radio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-dashboard-radio-card:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.15);
}

.premium-dashboard-radio-card:hover::before {
    opacity: 1;
}

/* Dashboard Radio Header */
.dashboard-radio-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
}

.dashboard-radio-operating-section {
    padding: 0 1.25rem 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.dashboard-radio-parameters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.dashboard-parameter-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.625rem;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-parameter-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
}

.dashboard-parameter-card .parameter-icon {
    margin-bottom: 0.375rem;
}

.dashboard-parameter-card.frequency .parameter-icon i {
    color: #10B981;
    font-size: 0.75rem;
}

.dashboard-parameter-card.mode .parameter-icon i {
    color: #F59E0B;
    font-size: 0.75rem;
}

.dashboard-parameter-card.power .parameter-icon i {
    color: #EF4444;
    font-size: 0.75rem;
}

.dashboard-parameter-card .parameter-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hamrig-light);
    margin-bottom: 0.125rem;
}

.dashboard-parameter-card .parameter-label {
    font-size: 0.625rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Dashboard Radio Offline Section */
.dashboard-radio-offline-section {
    padding: 0 1.25rem 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.dashboard-offline-status-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(107, 114, 128, 0.08);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 10px;
}

.dashboard-offline-status-card .offline-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(107, 114, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.dashboard-offline-status-card .offline-content h6 {
    margin: 0 0 0.125rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
}

.dashboard-offline-status-card .offline-content p {
    margin: 0;
    font-size: 0.625rem;
    color: var(--hamrig-light-3);
}

/* Dashboard Radio Actions */
.dashboard-radio-actions-section {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.dashboard-action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dashboard-action-btn {
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dashboard-action-btn.primary {
    flex: 1;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.dashboard-action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.dashboard-action-btn.secondary {
    flex: 1;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hamrig-light-2);
}

.dashboard-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--hamrig-light);
}

.dashboard-action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dashboard-action-btn.icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hamrig-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-action-btn.icon-only:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--hamrig-primary);
    transform: scale(1.05);
}

/* Premium Dashboard Empty Radios */
.premium-dashboard-empty-radios {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.dashboard-empty-state-content .empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    background: rgba(107, 114, 128, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 1.5rem;
}

.dashboard-empty-state-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    margin: 0 0 0.5rem 0;
}

.dashboard-empty-state-content .empty-state-description {
    font-size: 0.875rem;
    color: var(--hamrig-light-3);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .premium-dashboard-radios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-radio-parameters-grid {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }
    
    .detail-header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .detail-location-info-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-stat-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .premium-detail-header {
        padding: 1.5rem;
    }
    
    .dashboard-radio-header,
    .dashboard-radio-operating-section,
    .dashboard-radio-actions-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .premium-location-nav-item {
        padding: 1.25rem;
    }
    
    .dashboard-action-buttons {
        flex-direction: column;
    }
    
    .dashboard-action-btn.icon-only {
        width: 100%;
        height: 36px;
    }
}

/* Warning Modal Styles */
.modal-content-center {
    text-align: center;
    padding: 20px;
}

.warning-icon {
    font-size: 48px;
    color: var(--warning-color, #f39c12);
    margin-bottom: 20px;
    display: block;
}

.warning-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.warning-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.modal-icon.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

/* Form Validation States */
.premium-form-control.is-valid {
    border-color: var(--success-color, #28a745);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.premium-form-control.is-invalid {
    border-color: var(--danger-color, #dc3545);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.premium-form-control.is-valid:focus {
    border-color: var(--success-color, #28a745);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.premium-form-control.is-invalid:focus {
    border-color: var(--danger-color, #dc3545);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* Location Method Panels */
.location-method {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.location-method.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Results Styling */
.search-results {
    margin-top: 12px;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.results-list {
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: var(--card-bg);
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--primary-color);
    color: white;
}

.search-result-item:hover small {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

.profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
    transform: translateY(-2px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 10px;
    color: white;
    font-size: 18px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--hamrig-light);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--hamrig-light-3);
    margin-top: 2px;
}

/* Status Items */
.status-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.status-item:hover {
    background: var(--hamrig-dark-4);
    transform: translateY(-1px);
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 16px;
}

.status-content {
    flex: 1;
}

.status-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hamrig-light);
    line-height: 1.2;
}

.status-description {
    font-size: 12px;
    color: var(--hamrig-light-3);
    margin-top: 2px;
}

.status-badge {
    display: flex;
    align-items: center;
}

.badge-success {
    background: var(--hamrig-success);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-warning {
    background: var(--hamrig-warning);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-danger {
    background: var(--hamrig-danger);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-secondary {
    background: var(--hamrig-secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icon Colors */
.text-success {
    color: var(--hamrig-success) !important;
}

.text-warning {
    color: var(--hamrig-warning) !important;
}

.text-danger {
    color: var(--hamrig-danger) !important;
}

.text-muted {
    color: var(--hamrig-light-3) !important;
}

/* Form Actions */
.form-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hamrig-border);
    display: flex;
    justify-content: flex-end;
}

/* Compact Profile Card Headers */
.profile-grid .card-header {
    padding: 12px 16px;
}

.profile-grid .card-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-grid .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.profile-grid .card-title-section {
    flex: 1;
}

.profile-grid .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
    line-height: 1.2;
}

.profile-grid .card-subtitle {
    font-size: 12px;
    color: var(--hamrig-light-3);
    margin: 2px 0 0 0;
    line-height: 1.2;
}

/* ========================================
   RADIO LIVE DATA STYLES
   ======================================== */

.radio-stats-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hamrig-border-light);
}

.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.stats-row:last-child {
    margin-bottom: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--hamrig-light-3);
    flex: 1;
}

.stat-item i {
    width: 14px;
    text-align: center;
    color: var(--hamrig-primary);
}

.uptime-value,
.ping-value {
    font-weight: 600;
    color: var(--hamrig-light-2);
}

.bytes-info {
    font-family: var(--font-mono);
}

/* Parameter card for SWR */
.parameter-card.swr .parameter-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

/* Status indicator styles */
.radio-status-indicator.online {
    color: var(--hamrig-success);
}

.radio-status-indicator.offline {
    color: var(--hamrig-light-3);
}

.radio-status-indicator.warning {
    color: var(--hamrig-warning);
}

/* ===== CLUB SYSTEM STYLES ===== */

/* Context Switcher */
.context-switcher-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.context-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    padding: 12px 20px;
    box-shadow: var(--hamrig-shadow);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
}

.context-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--hamrig-light-2);
    font-size: 14px;
    white-space: nowrap;
    margin: 0;
}

.context-label i {
    color: var(--hamrig-primary);
    font-size: 16px;
}

.context-select {
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light);
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    flex: 1;
    min-width: 280px;
}

.context-select:hover {
    border-color: var(--hamrig-primary);
    background: var(--hamrig-dark-4);
}

.context-select:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.context-select option {
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light);
    padding: 8px 12px;
}

/* Club Context Info */
.club-context-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--hamrig-border);
}

.club-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.club-badge i {
    font-size: 10px;
}

.club-quick-actions-btn {
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px;
    color: var(--hamrig-light-2);
    padding: 6px 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.club-quick-actions-btn:hover {
    background: var(--hamrig-dark-4);
    color: var(--hamrig-light);
    border-color: var(--hamrig-primary);
}

.club-quick-actions-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    box-shadow: var(--hamrig-shadow-lg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    min-width: 200px;
    animation: fadeInDown 0.2s ease-out;
}

.club-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    color: var(--hamrig-light-2);
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
    font-family: var(--font-primary);
    font-size: 14px;
}

.club-action-item:first-child {
    border-radius: 12px 12px 0 0;
}

.club-action-item:last-child {
    border-radius: 0 0 12px 12px;
}

.club-action-item:hover {
    background: var(--hamrig-dark-4);
    color: var(--hamrig-light);
}

.club-action-item i {
    color: var(--hamrig-primary);
    width: 16px;
    text-align: center;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Club Member Modal Styles */
.club-member-modal {
    max-width: 600px;
}

.members-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 16px;
    transition: var(--transition-fast);
}

.member-item:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
}

.member-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.member-avatar {
    color: var(--hamrig-light-2);
    font-size: 24px;
}

.member-details {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 2px;
}

.member-callsign {
    font-size: 14px;
    color: var(--hamrig-light-2);
    font-family: var(--font-mono);
}

.member-role {
    margin: 0 16px;
}

.role-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.role-badge.admin {
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    color: white;
}

.role-badge.member {
    background: var(--hamrig-dark-4);
    color: var(--hamrig-light-2);
    border: 1px solid var(--hamrig-border);
}

.member-actions {
    display: flex;
    gap: 8px;
}

/* Radio Share Modal Styles */
.radio-share-modal {
    max-width: 700px;
}

.share-radios-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.share-radio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 16px;
    transition: var(--transition-fast);
}

.share-radio-item:has(input:checked) {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
}

.radio-selection {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.radio-selection input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--hamrig-border);
    border-radius: 4px;
    background: var(--hamrig-dark-3);
    cursor: pointer;
}

.radio-selection input[type="checkbox"]:checked {
    background: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
}

.radio-selection label {
    cursor: pointer;
    flex: 1;
}

.radio-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-name {
    font-weight: 600;
    color: var(--hamrig-light);
}

.radio-model {
    font-size: 14px;
    color: var(--hamrig-light-2);
}

.permission-selection {
    margin-left: 16px;
}

.permission-select {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px;
    color: var(--hamrig-light);
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.permission-select:hover {
    border-color: var(--hamrig-primary);
}

.permission-select:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Club Dashboard Styles */
.club-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.club-stat-card {
    display: flex;
    align-items: center;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-fast);
}

.club-stat-card:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
    transform: translateY(-2px);
    box-shadow: var(--hamrig-shadow-lg);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 12px;
    margin-right: 16px;
}

.stat-icon i {
    color: white;
    font-size: 20px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--hamrig-light);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.stat-action {
    margin-left: 16px;
}

.club-quick-actions-section,
.club-activity-section {
    margin-bottom: 32px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hamrig-border);
}

.section-title i {
    color: var(--hamrig-primary);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.quick-action-card {
    display: flex;
    align-items: flex-start;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    width: 100%;
}

.quick-action-card:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
    transform: translateY(-1px);
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 10px;
    margin-right: 16px;
    flex-shrink: 0;
}

.action-icon i {
    color: var(--hamrig-primary);
    font-size: 16px;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 4px;
}

.action-description {
    font-size: 14px;
    color: var(--hamrig-light-2);
    line-height: 1.4;
}

.activity-list {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
}

.activity-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--hamrig-light-2);
    font-size: 14px;
    min-height: 160px;
}

.activity-loading i {
    color: var(--hamrig-primary);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hamrig-border);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 8px;
    flex-shrink: 0;
}

.activity-icon i {
    color: var(--hamrig-primary);
    font-size: 14px;
}

.activity-content {
    flex: 1;
}

.activity-description {
    color: var(--hamrig-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.activity-time {
    color: var(--hamrig-light-2);
    font-size: 12px;
}

.empty-activity,
.activity-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    color: var(--hamrig-light-2);
    text-align: center;
}

.empty-activity i,
.activity-error i {
    font-size: 24px;
    color: var(--hamrig-light-3);
}

.activity-error i {
    color: var(--hamrig-warning);
}

/* Club Cards */
.club-card {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    opacity: 0;
    transition: var(--transition-normal);
}

.club-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hamrig-shadow-lg);
    border-color: var(--hamrig-primary);
}

.club-card:hover::before {
    opacity: 1;
}

.club-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.club-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.club-info {
    flex: 1;
    min-width: 0;
}

.club-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.club-callsign {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--hamrig-primary);
    background: rgba(220, 38, 38, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.club-description {
    color: var(--hamrig-light-3);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

.club-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light-2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 8px;
}

.club-role.owner { background: linear-gradient(135deg, #DC2626, #B91C1C); color: white; }
.club-role.president { background: linear-gradient(135deg, #7C3AED, #6D28D9); color: white; }
.club-role.officer { background: linear-gradient(135deg, #0891B2, #0E7490); color: white; }
.club-role.trustee { background: linear-gradient(135deg, #059669, #047857); color: white; }
.club-role.admin { background: linear-gradient(135deg, #EA580C, #C2410C); color: white; }

.club-stats {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hamrig-border-light);
}

.club-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--hamrig-light-3);
}

.club-stat i {
    color: var(--hamrig-primary);
    width: 14px;
    text-align: center;
}

.club-stat-value {
    font-weight: 600;
    color: var(--hamrig-light-2);
}

/* Club Actions */
.club-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.club-action-btn {
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light-2);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.club-action-btn:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-primary);
    color: var(--hamrig-light);
}

.club-action-btn.primary {
    background: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
    color: white;
}

.club-action-btn.primary:hover {
    background: var(--hamrig-primary-dark);
    border-color: var(--hamrig-primary-dark);
}

/* Club Creation Form */
.club-form-group {
    margin-bottom: 20px;
}

.club-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--hamrig-light-2);
    margin-bottom: 8px;
    font-size: 14px;
}

.club-form-label i {
    color: var(--hamrig-primary);
    width: 16px;
    text-align: center;
}

.club-form-control {
    width: 100%;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    color: var(--hamrig-light);
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.club-form-control:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background: var(--hamrig-dark-3);
}

.club-form-control::placeholder {
    color: var(--hamrig-light-3);
}

textarea.club-form-control {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-primary);
}

/* Club Member List */
.member-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border-light);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.member-item:hover {
    background: var(--hamrig-dark-4);
    border-color: var(--hamrig-border);
}

.member-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--hamrig-primary), var(--hamrig-primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-callsign {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin: 0;
}

.member-name {
    font-size: 12px;
    color: var(--hamrig-light-3);
    margin: 2px 0 0 0;
}

.member-role {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* Club Context Indicator */
.context-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hamrig-light-2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition-normal);
}

.context-indicator.show {
    opacity: 1;
    transform: translateX(0);
}

.context-indicator.club {
    border-color: var(--hamrig-primary);
    background: rgba(220, 38, 38, 0.1);
    color: var(--hamrig-primary);
}

.context-indicator i {
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .context-switcher {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        max-width: 100%;
    }
    
    .context-label {
        justify-content: center;
    }
    
    .context-select {
        min-width: 0;
        width: 100%;
    }
    
    .club-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .club-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .club-actions {
        justify-content: center;
    }
    
    .member-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .member-role {
        margin-left: 0;
    }
}

/* Animation for context switching */
@keyframes contextSwitch {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.context-switching {
    animation: contextSwitch 0.3s ease;
}

/* Operation Mode Styles */
.operation-mode-section {
    padding: 0 1.5rem 0.75rem 1.5rem; /* Match other sections */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
}

.operation-mode-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
}

.operation-mode-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.operation-mode-select {
    flex: 0 0 50%; /* Half width */
    padding: 8px 12px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 6px;
    color: var(--hamrig-light);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23AEAEB2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.operation-mode-select:hover {
    border-color: var(--hamrig-primary);
}

.operation-mode-select:focus {
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(139, 196, 87, 0.1);
}

.operation-mode-status {
    flex: 1; /* Take remaining space */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-status {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid;
    background: rgba(255, 255, 255, 0.05);
}

.mode-status.owner {
    color: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
    background: rgba(220, 38, 38, 0.1);
}

.mode-status.shared {
    color: var(--hamrig-success);
    border-color: var(--hamrig-success);
    background: rgba(52, 199, 89, 0.1);
}

.mode-status.scheduled {
    color: var(--hamrig-info);
    border-color: var(--hamrig-info);
    background: rgba(10, 132, 255, 0.1);
}

.mode-status.hybrid {
    color: var(--hamrig-warning);
    border-color: var(--hamrig-warning);
    background: rgba(255, 149, 0, 0.1);
}

.mode-status.unknown {
    color: var(--hamrig-light-2);
    border-color: var(--hamrig-light-3);
    background: rgba(174, 174, 178, 0.1);
}

 
  
 

/* Admin Dashboard Proxy Network Styles */
.proxy-card {
    border-left: 4px solid #007bff;
}

.proxy-admin {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.proxy-gateways {
    max-height: 400px;
    overflow-y: auto;
}

.gateway-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.gateway-flat-card {
    border-left: 4px solid #28a745;
}

.gateway-clients {
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.client-mini-badge {
    background-color: #495057;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.proxy-card .premium-radio-header {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
}

.gateway-flat-card .premium-radio-header {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
}

#proxyNetworkGrid .premium-grid {
    gap: 20px;
}

.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    filter: grayscale(100%);
    opacity: 0.8;
}
EOF < /dev/null

/* Admin Dashboard Activity & Connections Styles */
.activity-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.connections-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.activity-card,
.connection-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--hamrig-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.count-badge.online {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.activity-list,
.connections-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item,
.connection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.activity-item:hover,
.connection-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.activity-icon,
.connection-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 14px;
}

.activity-icon.online,
.connection-icon.online {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.activity-icon.warning,
.connection-icon.warning {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.activity-icon.offline,
.connection-icon.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.activity-content,
.connection-content {
    flex: 1;
    min-width: 0;
}

.activity-title,
.connection-title {
    font-weight: 600;
    color: var(--hamrig-light);
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-subtitle,
.connection-subtitle {
    font-size: 12px;
    color: var(--hamrig-light-2);
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-activity-message {
    text-align: center;
    color: var(--hamrig-light-2);
    opacity: 0.6;
    padding: 20px;
    font-style: italic;
}

.activity-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.activity-loading .loading-spinner-premium {
    width: 16px;
    height: 16px;
}

/* Club Member Management Styles */
.members-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--hamrig-dark-3);
    border-radius: 12px;
    border: 1px solid var(--hamrig-dark-2);
}

.members-stats {
    display: flex;
    gap: 32px;
}

.members-actions {
    display: flex;
    gap: 12px;
}

.members-directory {
    margin-top: 20px;
}

.member-card {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-dark-2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.member-card:hover {
    border-color: var(--hamrig-accent);
    transform: translateY(-2px);
}

.member-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hamrig-dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-2);
    font-size: 24px;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: var(--hamrig-light);
    font-size: 16px;
    margin-bottom: 4px;
}

.member-callsign {
    color: var(--hamrig-light-2);
    font-size: 14px;
    margin-bottom: 8px;
}

.member-role .role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.role-badge.role-admin {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.role-badge.role-moderator {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.role-badge.role-member {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.member-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.member-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hamrig-light-2);
    font-size: 14px;
}

.member-detail-item i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.member-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.member-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--hamrig-dark-2);
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.member-action-btn:hover {
    background: var(--hamrig-dark-1);
    color: var(--hamrig-light);
}

.member-action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: #ef4444;
}

/* Management Modal Styles */
.members-management-tabs {
    width: 100%;
}

.management-tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--hamrig-dark-2);
    margin-bottom: 20px;
}

.management-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--hamrig-light-2);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.management-tab:hover {
    color: var(--hamrig-light);
    background: rgba(255, 255, 255, 0.05);
}

.management-tab.active {
    color: var(--hamrig-accent);
    border-bottom: 2px solid var(--hamrig-accent);
}

.management-tab-content {
    display: none;
}

.management-tab-content.active {
    display: block;
}

.management-member-item,
.management-invite-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--hamrig-dark-3);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--hamrig-dark-2);
}

.member-info-section,
.invite-info-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.member-details .member-name,
.invite-details .invite-target {
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 4px;
}

.member-details .member-callsign,
.invite-details .invite-meta {
    color: var(--hamrig-light-2);
    font-size: 14px;
    margin-bottom: 4px;
}

.member-management-actions,
.invite-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-select {
    padding: 4px 8px;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-dark-1);
    border-radius: 4px;
    color: var(--hamrig-light);
    font-size: 12px;
}

.current-user-badge {
    padding: 4px 8px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.empty-invites {
    text-align: center;
    padding: 40px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.empty-invites i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.role-permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.role-card {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-dark-2);
    border-radius: 8px;
    padding: 16px;
}

.role-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--hamrig-light);
}

.role-permissions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hamrig-light-2);
    font-size: 14px;
}

.permission-item i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

/* Comments Styles */
.comments-section {
    margin-top: 16px;
    padding: 16px;
    background: var(--hamrig-dark-4);
    border-radius: 8px;
    border: 1px solid var(--hamrig-dark-2);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hamrig-dark-2);
}

.comments-header h5 {
    color: var(--hamrig-light);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.btn-close-comments {
    background: none;
    border: none;
    color: var(--hamrig-light-2);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-close-comments:hover {
    color: var(--hamrig-light);
    background: var(--hamrig-dark-2);
}

.comments-list {
    margin-bottom: 16px;
}

.comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.no-comments {
    text-align: center;
    padding: 20px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.no-comments i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.comment-item {
    background: var(--hamrig-dark-3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--hamrig-dark-2);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hamrig-dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-2);
    font-size: 16px;
    overflow: hidden;
}

.comment-author-name {
    font-weight: 600;
    color: var(--hamrig-light);
    font-size: 14px;
}

.comment-author-callsign {
    color: var(--hamrig-light-2);
    font-size: 12px;
}

.comment-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--hamrig-light-2);
    font-size: 12px;
    opacity: 0.7;
}

.comment-content p {
    margin: 0;
    color: var(--hamrig-light-2);
    font-size: 14px;
    line-height: 1.4;
}

.comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--hamrig-dark-2);
}

.comment-action-btn {
    background: none;
    border: none;
    color: var(--hamrig-light-2);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.comment-action-btn:hover {
    color: var(--hamrig-light);
    background: var(--hamrig-dark-2);
}

.comment-form {
    border-top: 1px solid var(--hamrig-dark-2);
    padding-top: 12px;
}

.comment-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.comment-input-group textarea {
    flex: 1;
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-dark-1);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--hamrig-light);
    font-size: 14px;
    resize: vertical;
    min-height: 36px;
}

.comment-input-group textarea:focus {
    outline: none;
    border-color: var(--hamrig-accent);
}

.btn-add-comment {
    background: var(--hamrig-accent);
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-comment:hover {
    background: var(--hamrig-accent-hover);
    transform: translateY(-1px);
}

/* Like button animation */
.post-action-btn.liked,
.comment-action-btn.liked {
    animation: likeAnimation 0.3s ease;
    color: var(--hamrig-accent) !important;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Form styling improvements */
.form-help {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--hamrig-light-2);
    opacity: 0.8;
}

.optional-text {
    opacity: 0.6;
    font-weight: normal;
}

/* Tab Content Sections */
.tab-content-container {
    margin-top: 24px;
}

.tab-section {
    display: none;
    padding: 24px 0;
}

.tab-section.active {
    display: block;
}

/* Community Tab Styling */
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--hamrig-dark-3);
    border-radius: 12px;
    border: 1px solid var(--hamrig-dark-2);
}

.community-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    color: var(--hamrig-accent);
    font-size: 20px;
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 24px;
    font-weight: 600;
    color: var(--hamrig-light);
}

.stat-item label {
    font-size: 12px;
    color: var(--hamrig-light-2);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bulletin Board */
.bulletin-board {
    margin-top: 20px;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card {
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-dark-2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.post-card:hover {
    border-color: var(--hamrig-accent);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hamrig-dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hamrig-light-2);
    font-size: 20px;
    overflow: hidden;
}

/* Avatar image styling for posts and comments */
.post-author-avatar,
.comment-author-avatar {
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 2px;
}

.author-callsign {
    font-size: 14px;
    color: var(--hamrig-light-2);
    opacity: 0.8;
}

.post-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.post-type,
.post-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.post-content {
    margin-bottom: 16px;
}

.post-subject {
    font-size: 18px;
    font-weight: 600;
    color: var(--hamrig-light);
    margin-bottom: 8px;
}

.post-message {
    color: var(--hamrig-light-2);
    line-height: 1.5;
}

.post-actions {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--hamrig-dark-2);
}

.post-action-btn {
    background: none;
    border: none;
    color: var(--hamrig-light-2);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.post-action-btn:hover {
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light);
}

/* Post type specific styling */
.post-type-announcement {
    border-left: 3px solid #f59e0b;
}

.post-type-event {
    border-left: 3px solid #10b981;
}

.post-type-general {
    border-left: 3px solid #6366f1;
}

.post-type-question {
    border-left: 3px solid #ef4444;
}

/* Section placeholders */
.section-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--hamrig-light-2);
    opacity: 0.7;
}

.placeholder-content {
    max-width: 400px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--hamrig-accent);
    opacity: 0.6;
}

.placeholder-content h3 {
    color: var(--hamrig-light);
    margin-bottom: 8px;
}

.placeholder-content p {
    margin-bottom: 16px;
}

.placeholder-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .community-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .post-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-meta {
        justify-content: flex-start;
    }
    
    .post-actions {
        justify-content: center;
        gap: 12px;
    }
    
    .members-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .members-stats {
        justify-content: center;
        gap: 20px;
    }
}

/* ========== POLICIES TAB STYLES ========== */

/* Policies Header */
.policies-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(135deg, var(--hamrig-dark-2), var(--hamrig-dark-1));
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--hamrig-border);
}

.policies-stats {
    display: flex;
    gap: 2rem;
}

.policies-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Policy Items */
.policies-content {
    margin-top: 2rem;
}

.policies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.policy-item {
    background: var(--hamrig-dark-2);
    border: 1px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.policy-item:hover {
    border-color: var(--hamrig-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.policy-title-section h5 {
    margin: 0 0 0.5rem 0;
    color: var(--hamrig-light);
    font-size: 1.25rem;
    font-weight: 600;
}

.policy-description {
    color: var(--hamrig-light-2);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.policy-meta {
    color: var(--hamrig-light-3);
    font-size: 0.8rem;
}

.policy-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.policy-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.policy-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--hamrig-success);
    border: 1px solid var(--hamrig-success);
}

.policy-badge.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: var(--hamrig-danger);
    border: 1px solid var(--hamrig-danger);
}

.policy-badge.priority-10 {
    background: rgba(239, 68, 68, 0.2);
    color: var(--hamrig-danger);
    border: 1px solid var(--hamrig-danger);
}

.policy-badge.priority-50 {
    background: rgba(245, 158, 11, 0.2);
    color: var(--hamrig-warning);
    border: 1px solid var(--hamrig-warning);
}

.policy-badge.priority-100 {
    background: rgba(59, 130, 246, 0.2);
    color: var(--hamrig-info);
    border: 1px solid var(--hamrig-info);
}

.policy-badge.priority-200 {
    background: rgba(107, 114, 128, 0.2);
    color: var(--hamrig-light-3);
    border: 1px solid var(--hamrig-light-3);
}

/* Policy Limits Display */
.policy-limits {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.limit-group h6 {
    margin: 0 0 1rem 0;
    color: var(--hamrig-light-2);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limit-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.limit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--hamrig-light-2);
    font-size: 0.9rem;
}

.limit-item i {
    color: var(--hamrig-primary);
    width: 16px;
    text-align: center;
}

/* Policy Actions */
.policy-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--hamrig-border);
}

/* User Limits Modal */
.user-limits-data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--hamrig-dark-1);
    border-radius: 8px;
    overflow: hidden;
}

.user-limits-data-table th,
.user-limits-data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--hamrig-border);
}

.user-limits-data-table th {
    background: var(--hamrig-dark-3);
    color: var(--hamrig-light-2);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-limits-data-table tr:hover {
    background: var(--hamrig-dark-2);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-callsign {
    color: var(--hamrig-light);
    font-weight: 600;
}

.user-role-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.user-role-badge.role-owner {
    background: rgba(147, 51, 234, 0.2);
    color: var(--hamrig-accent);
    border: 1px solid var(--hamrig-accent);
}

.user-role-badge.role-admin {
    background: rgba(239, 68, 68, 0.2);
    color: var(--hamrig-danger);
    border: 1px solid var(--hamrig-danger);
}

.user-role-badge.role-member {
    background: rgba(59, 130, 246, 0.2);
    color: var(--hamrig-info);
    border: 1px solid var(--hamrig-info);
}

.usage-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hamrig-border);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--hamrig-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.form-section-title i {
    color: var(--hamrig-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group .premium-form-control {
    border: none;
    border-radius: 0;
    background: transparent;
    flex: 1;
}

.input-group-text {
    padding: 0.75rem 1rem;
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light-2);
    font-size: 0.85rem;
    border-left: 1px solid var(--hamrig-border);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--hamrig-light);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--hamrig-dark-3);
    border: 2px solid var(--hamrig-border);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--hamrig-primary);
    border-color: var(--hamrig-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.optional-text {
    color: var(--hamrig-light-3);
    font-weight: 400;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policies-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .policies-stats {
        justify-content: space-between;
    }

    .policy-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .policy-badges {
        flex-direction: row;
        align-items: flex-start;
    }

    .policy-limits {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .user-limits-data-table {
        font-size: 0.85rem;
    }

    .user-limits-data-table th,
    .user-limits-data-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ========== END POLICIES TAB STYLES ========== */

/* ========== RADIOS TAB STYLES ========== */

/* Radios Header */
.radios-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(135deg, var(--hamrig-dark-2), var(--hamrig-dark-1));
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--hamrig-border);
}

.radios-stats {
    display: flex;
    gap: 2rem;
}

.radios-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Radio List */
.radios-content {
    margin-top: 2rem;
}

.club-radios-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.club-radio-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    overflow: hidden;
}

.club-radio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 29, 29, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.club-radio-item:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 29, 29, 0.3);
    box-shadow: 0 8px 40px rgba(139, 29, 29, 0.15);
}

.club-radio-item:hover::before {
    opacity: 1;
}

/* Compact Radio Layout Components */
.radio-basic-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.radio-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
    flex-shrink: 0;
}

.radio-status-indicator.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.radio-status-indicator.offline {
    background: rgba(107, 114, 128, 0.15);
    color: #9CA3AF;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: relative;
}

.radio-status-indicator.online .status-pulse {
    background: #10B981;
    animation: pulse-green 2s infinite;
}

.radio-status-indicator.offline .status-pulse {
    background: #9CA3AF;
}

.radio-name-info {
    flex: 1;
    min-width: 0;
}

.radio-name-info h6 {
    margin: 0;
    color: var(--hamrig-light);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-name-info .radio-model {
    margin: 0;
    color: var(--hamrig-light-3);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-details-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 0;
}

.radio-detail-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    text-align: center;
}

.radio-detail-compact .label {
    font-size: 0.65rem;
    color: var(--hamrig-light-3);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2px;
}

.radio-detail-compact .value {
    font-size: 0.8rem;
    color: var(--hamrig-light-2);
    font-weight: 500;
}

.radio-detail-compact .value.frequency {
    font-family: var(--font-mono);
    color: var(--hamrig-primary);
    font-weight: 600;
}

.radio-detail-compact .value.online {
    color: var(--hamrig-success);
}

.radio-detail-compact .value.offline {
    color: var(--hamrig-danger);
}

.radio-actions-compact {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.radio-action-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--hamrig-primary), #b02a37);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--hamrig-light);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 8px rgba(139, 29, 29, 0.2);
    position: relative;
    overflow: hidden;
}

.radio-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.radio-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 29, 29, 0.3);
}

.radio-action-btn:hover::before {
    left: 100%;
}

.radio-action-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--hamrig-light-2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.radio-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--hamrig-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.radio-action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.radio-action-btn i {
    font-size: 0.7rem;
}

/* Responsive adjustments for compact layout */
@media (max-width: 768px) {
    .club-radio-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .radio-basic-info,
    .radio-details-compact,
    .radio-actions-compact {
        justify-content: space-between;
    }
    
    .radio-details-compact {
        gap: 0.5rem;
    }
    
    .radio-detail-compact {
        min-width: 60px;
    }
}

/* ================================================
   ELEGANT CREATE POST MODAL
   ================================================ */

/* Large Modal Size */
.premium-modal-lg .premium-modal-dialog {
    max-width: 900px;
    width: 90%;
}

/* Elegant Form Layout */
.create-post-form {
    margin: 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.form-column-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-column-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Elegant Form Groups */
.form-group-elegant {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.elegant-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hamrig-light-2);
    margin-bottom: 0;
}

.elegant-label i {
    color: var(--hamrig-primary);
    font-size: 0.85rem;
}

/* Elegant Input Styling */
.elegant-input {
    background: var(--hamrig-dark-1);
    border: 2px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--hamrig-light);
    transition: all 0.3s ease;
    font-family: inherit;
    resize: none;
}

.elegant-input:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.1);
    background: var(--hamrig-dark-2);
}

.elegant-input::placeholder {
    color: var(--hamrig-light-3);
    font-style: italic;
}

/* Elegant Textarea */
.elegant-textarea {
    background: var(--hamrig-dark-1);
    border: 2px solid var(--hamrig-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--hamrig-light);
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.elegant-textarea:focus {
    outline: none;
    border-color: var(--hamrig-primary);
    box-shadow: 0 0 0 3px rgba(139, 29, 29, 0.1);
    background: var(--hamrig-dark-2);
}

.elegant-textarea::placeholder {
    color: var(--hamrig-light-3);
    font-style: italic;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--hamrig-light-3);
    margin-top: 0.5rem;
}

/* Post Type Selector */
.post-type-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.type-option {
    cursor: pointer;
    display: block;
}

.type-option input[type="radio"] {
    display: none;
}

.type-card {
    background: var(--hamrig-dark-1);
    border: 2px solid var(--hamrig-border);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    position: relative;
}

.type-card i {
    font-size: 1.5rem;
    color: var(--hamrig-primary);
    margin-bottom: 0.25rem;
}

.type-name {
    font-weight: 600;
    color: var(--hamrig-light);
    font-size: 0.9rem;
}

.type-desc {
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    line-height: 1.3;
}

.type-option:hover .type-card {
    border-color: var(--hamrig-primary);
    background: var(--hamrig-dark-2);
    transform: translateY(-2px);
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: var(--hamrig-primary);
    background: linear-gradient(135deg, rgba(139, 29, 29, 0.1), rgba(139, 29, 29, 0.05));
    box-shadow: 0 0 0 1px rgba(139, 29, 29, 0.2);
}

.type-option input[type="radio"]:checked + .type-card::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--hamrig-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Post Guidelines */
.post-guidelines {
    background: var(--hamrig-dark-1);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--hamrig-border);
}

.post-guidelines h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hamrig-light-2);
    margin: 0 0 0.75rem 0;
}

.post-guidelines h6 i {
    color: var(--hamrig-primary);
}

.post-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-guidelines li {
    font-size: 0.8rem;
    color: var(--hamrig-light-3);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.4;
}

.post-guidelines li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--hamrig-primary);
    font-weight: bold;
}

.post-guidelines li:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-modal-lg .premium-modal-dialog {
        max-width: 95%;
        margin: 1rem;
    }
    
    .form-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-column-sidebar {
        order: -1;
    }
    
    .post-type-selector {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .type-card {
        padding: 0.75rem 0.5rem;
        gap: 0.25rem;
    }
    
    .type-card i {
        font-size: 1.2rem;
    }
    
    .type-name {
        font-size: 0.8rem;
    }
    
    .type-desc {
        display: none;
    }
}

/* Radio Header */
.radio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.radio-title-section h5.radio-nickname {
    margin: 0 0 0.5rem 0;
    color: var(--hamrig-light);
    font-size: 1.25rem;
    font-weight: 600;
}

.radio-model {
    color: var(--hamrig-light-2);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.radio-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hamrig-light-3);
    font-size: 0.8rem;
}

.radio-location i {
    color: var(--hamrig-primary);
}

.radio-status-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge.status-online {
    background: rgba(16, 185, 129, 0.2);
    color: var(--hamrig-success);
    border: 1px solid var(--hamrig-success);
}

.status-badge.status-offline {
    background: rgba(239, 68, 68, 0.2);
    color: var(--hamrig-danger);
    border: 1px solid var(--hamrig-danger);
}

.status-badge.status-online i {
    color: var(--hamrig-success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.availability-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.availability-badge.available {
    background: rgba(59, 130, 246, 0.2);
    color: var(--hamrig-info);
    border: 1px solid var(--hamrig-info);
}

.availability-badge.unavailable {
    background: rgba(245, 158, 11, 0.2);
    color: var(--hamrig-warning);
    border: 1px solid var(--hamrig-warning);
}

/* Radio Details */
.radio-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.radio-detail-group h6 {
    margin: 0 0 0.75rem 0;
    color: var(--hamrig-light-2);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Frequency Display */
.frequency-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.frequency-display .frequency {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hamrig-primary);
}

.frequency-display .mode {
    background: var(--hamrig-dark-3);
    color: var(--hamrig-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Connection Info */
.connection-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proxy-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hamrig-light-2);
    font-size: 0.9rem;
}

.proxy-info i {
    color: var(--hamrig-success);
}

.proxy-info.offline i {
    color: var(--hamrig-danger);
}

.last-seen {
    color: var(--hamrig-light-3);
    font-size: 0.8rem;
}

/* Schedule Info */
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.current-session,
.next-schedule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hamrig-light-2);
    font-size: 0.9rem;
}

.current-session i {
    color: var(--hamrig-warning);
}

.next-schedule i {
    color: var(--hamrig-info);
}

/* Features */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--hamrig-dark-3);
    color: var(--hamrig-light-2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--hamrig-border);
}

/* Radio Actions */
.radio-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--hamrig-border);
    flex-wrap: wrap;
}

.radio-actions .btn-premium {
    flex: 0 0 auto;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-disabled .btn-glow {
    display: none;
}

/* Success/Info colors for text elements */
.text-success {
    color: var(--hamrig-success) !important;
}

.text-info {
    color: var(--hamrig-info) !important;
}

.text-warning {
    color: var(--hamrig-warning) !important;
}

.text-danger {
    color: var(--hamrig-danger) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .radios-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .radios-stats {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .radio-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .radio-status-badges {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .radio-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .radio-actions {
        justify-content: center;
        gap: 0.5rem;
    }

    .radio-actions .btn-premium {
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .radio-actions {
        flex-direction: column;
    }

    .radio-actions .btn-premium {
        flex: 1 1 auto;
        width: 100%;
    }

    .radios-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ========== RADIO ACTION BUTTON INTEGRATION ========== */

/* Dashboard-style Connect button for radio cards, club cards, and log cards */
.radio-actions-section .radio-action-btn,
.club-card .radio-actions-section .radio-action-btn,
.log-card .actions .radio-action-btn {
    flex: 1;
    background: var(--hamrig-dark-3);
    border: 1px solid var(--hamrig-border);
    color: var(--hamrig-light);
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.radio-actions-section .radio-action-btn:hover,
.club-card .radio-actions-section .radio-action-btn:hover,
.log-card .actions .radio-action-btn:hover {
    background: var(--hamrig-dark-1);
    border-color: var(--dashboard-primary);
    transform: translateY(-1px);
}

.radio-actions-section .radio-action-btn.connect-btn,
.club-card .radio-actions-section .radio-action-btn.connect-btn,
.log-card .actions .radio-action-btn.connect-btn {
    background: linear-gradient(135deg, #0A84FF, #0056D2);
    border-color: #0A84FF;
    color: white;
}

.radio-actions-section .radio-action-btn.connect-btn:hover,
.club-card .radio-actions-section .radio-action-btn.connect-btn:hover,
.log-card .actions .radio-action-btn.connect-btn:hover {
    background: linear-gradient(135deg, #0056D2, #0034A3);
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.3);
}

.radio-actions-section .radio-action-btn.connect-btn.disabled,
.club-card .radio-actions-section .radio-action-btn.connect-btn.disabled,
.log-card .actions .radio-action-btn.connect-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.radio-actions-section .radio-action-btn.connect-btn.disabled:hover,
.club-card .radio-actions-section .radio-action-btn.connect-btn.disabled:hover,
.log-card .actions .radio-action-btn.connect-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.radio-actions-section .radio-action-btn i,
.club-card .radio-actions-section .radio-action-btn i,
.log-card .actions .radio-action-btn i {
    font-size: 0.875rem;
}

/* Power badge in radio card info badges */
.info-badge.power-badge {
    transition: all 0.2s ease;
}
.info-badge.power-badge.power-on {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #22c55e;
}
.info-badge.power-badge.power-on:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}
.info-badge.power-badge.power-off {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}
.info-badge.power-badge.power-off:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
    color: #22c55e;
}

/* ========== END RADIO ACTION BUTTON INTEGRATION ========== */

/* ========== ROTATOR CARD CONTROLS ========== */
.rotator-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.rotator-ctrl-btn {
    min-width: 80px;
    padding: 0.6rem 0.75rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
}

.rotator-ctrl-btn i {
    font-size: 0.75rem !important;
}

.rotator-ctrl-input {
    width: 70px !important;
    padding: 0.6rem 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center;
}

.rotator-stop-btn {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}

.rotator-stop-btn:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.rotator-park-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--hamrig-light-2) !important;
}

.rotator-park-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--hamrig-light) !important;
}
/* ========== END ROTATOR CARD CONTROLS ========== */

/* ========== OPERATION MODE ACCESS CONTROL STYLES ========== */

/* Read-only indicator for operation mode section */
.operation-mode-section .section-title .read-only-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-left: 0.75rem;
    font-size: 0.75rem;
    color: var(--hamrig-light-3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.operation-mode-section .section-title .read-only-indicator i {
    font-size: 0.625rem;
    opacity: 0.7;
}

/* Disabled state for operation mode select */
.operation-mode-select.disabled,
.operation-mode-select:disabled {
    background: var(--hamrig-dark-2);
    color: var(--hamrig-light-3);
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.operation-mode-select.disabled:hover,
.operation-mode-select:disabled:hover {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

/* Tooltip styling for disabled elements */
.operation-mode-select[title]:disabled,
.operation-mode-select.disabled[title] {
    cursor: help;
    pointer-events: auto;
}

/* Visual indication when section has restricted access */
.operation-mode-section:has(.operation-mode-select.disabled) {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.01) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ========== END OPERATION MODE ACCESS CONTROL STYLES ========== */

/* ========== END RADIOS TAB STYLES ========== */

/* ========== PREMIUM HEADER FIXED HEIGHT ========== */
/* Ensures consistent header height across all pages for uniform appearance */
.page-header.premium-header {
    min-height: 100px;
    height: 100px;
    display: flex;
    align-items: center;
}

.page-header.premium-header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.page-header.premium-header .page-header-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.page-header.premium-header .page-title-section {
    display: flex;
    align-items: center;
    height: 100%;
}

.page-header.premium-header .page-header-actions {
    display: flex;
    align-items: center;
    height: 100%;
}
/* ========== END PREMIUM HEADER FIXED HEIGHT ========== */
