        /* Modern Reset & Variables */

        :root {
            --primary: #0f2042;
            --primary-light: #1a3668;
            --accent: #f4c430;
            --success: #2ec4b6;
            --text-dark: #222222;
            --text-light: #ffffff;
            --bg-light: #f8f9fa;
            --card-bg: #ffffff;
            --border-radius: 8px;
            --shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* Header & Navigation */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--text-light);
            padding: 20px 0 0 0;
            border-bottom: 4px solid var(--accent);
        }

        .header-container {
	    display: flex;
            max-width: 1200px;
            margin: 0 auto;
            padding: 10 20px;
	    align-items: center;
        }

        .header-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            padding-bottom: 15px;
        }

	.header-content-right {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  flex-grow: 1;
	}

	/* Gray box placeholder for your future image */
	.logo-placeholder {
	  width: 120px;         /* Adjust width as needed */
	  height: 80px;        /* Adjust height as needed */
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  color: #e2e8f0;
	  font-weight: bold;
	  font-size: 12px;
	  margin-right: 20px;  /* Pushes the text and nav away from the logo */
	  flex-shrink: 0;      /* Prevents the logo from shrinking on smaller screens */
	}

        .logo-area h1 {
            font-size: 24px;
            letter-spacing: 1px;
        }
        
        .logo-area span {
            color: var(--accent);
            font-weight: bold;
        }

        /* Top Right Connect Box */
        .header-connect {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.05);
            padding: 6px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .header-connect span {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #b0c4de;
        }

        .header-connect a {
            color: var(--accent);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: color 0.2s;
        }

        .header-connect a:hover {
            color: white;
        }

        .header-connect .divider {
            color: rgba(255, 255, 255, 0.2);
            font-size: 12px;
        }

        /* Navigation Menu Row */
        .nav-row {
            padding-bottom: 15px;
        }

        nav {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        nav a {
            color: var(--text-light);
            text-decoration: none;
            padding: 6px 14px;
            border-radius: 4px;
            font-size: 14px;
            transition: background 0.3s;
        }

        nav a:hover, nav a.active {
            background-color: var(--accent);
            color: var(--primary);
            font-weight: bold;
        }

        /* Header Repeater Banner */
        .header-repeaters {
            background-color: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 20px;
        }

        .repeater-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
        }

        .repeater-title {
            color: var(--accent);
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .repeater-item {
            background: rgba(255, 255, 255, 0.08);
            padding: 6px 14px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .repeater-item strong {
            color: #fff;
        }

        .repeater-item span {
            color: #b0c4de;
        }

.status-dot.online {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* Crisp modern green */
  border-radius: 50%;
}

/* The pulsing outer ring */
.status-dot.online.animate::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #22c55e;
  animation: status-pulse 2s infinite ease-in-out;
  opacity: 0.6;
}

@keyframes status-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #a1a1aa; /* Subtle gray so the green dot pops */
}

        /* Hero Section */
        .hero {
            background-color: #0b1528;
            color: white;
            text-align: center;
            padding: 40px 20px;
            border-bottom: 1px solid #333;
        }

        .hero h2 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .hero p {
            color: #b0c4de;
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto 20px;
        }

        .hero-badges {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .hero-badges a {
            color: var(--accent);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: color 0.2s;
        }
        
        .hero-badges a:hover {
            color: white;
        } 

        .badge {
            background: rgba(255,255,255,0.1);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        /* Main Layout */
        .container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        .container-tables {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            gap: 30px;
        }

        .container-tables-multi {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }
            .header-main {
                flex-direction: column;
                align-items: flex-start;
            }
            .header-connect {
                width: 100%;
                justify-content: center;
            }
            .repeater-grid {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            .repeater-item {
                width: 100%;
                justify-content: space-between;
            }
        }

        /* Cards & Content */
        .card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
            border-left: 5px solid var(--primary);
        }

        .card.accent-card {
            border-left-color: var(--accent);
        }

        .card h3 {
            margin-bottom: 15px;
            color: var(--primary);
            font-size: 20px;
            border-bottom: 2px solid #eee;
            padding-bottom: 5px;
        }

        .card a {
            color: var(--primary-light);
            text-decoration: none;
            /*font-weight: 500;*/
        }

        .card a:hover {
            text-decoration: underline;
            color: #000;
        }

        /* Grid for Nets */
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        @media (max-width: 480px) {
            .grid-2 {
                grid-template-columns: 1fr;
            }
        }

        .info-block {
            background: #f1f4f9;
            padding: 15px;
            border-radius: 6px;
            border: 1px solid #dee2e6;
        }

        .info-block h4 {
            color: var(--primary-light);
            margin-bottom: 5px;
        }

        /* Links List */
        .links-list {
            list-style: none;
        }

        .links-list li {
            margin-bottom: 10px;
        }

        .links-list a {
            color: var(--primary-light);
            font-weight: 500;
            text-decoration: none;
        }

        .links-list a:hover {
            text-decoration: underline;
            color: #000;
        }

	/* Footer Layout split into 3 columns */
        footer {
            background-color: var(--primary);
            color: var(--text-light);
            padding: 40px 20px;
            margin-top: 30px;
            font-size: 14px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .footer-center {
            text-align: center;
            flex-grow: 1;
        }

        footer p {
            margin-bottom: 10px;
            opacity: 0.8;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--accent);
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

/*************************/
/* Member cards stylings*/

/* Container for the grid */
.member-grid {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

/* Individual Card Styling */
.member-card {
  background-color: #1e293b; /* A dark tint that blends with your dark blue theme */
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Subtle hover effect */
.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Header layout inside the card */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.member-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
}

/* Callsign Styling */
.member-callsign {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: #f59e0b; /* Nice amber color to make the callsign pop */
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.member-office {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff; 
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* License Badges Base */
.license-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #ffffff;
}

/* Color coding by license class */
.license-badge.extra {
  background-color: #dc2626; /* Red for Extra */
}

.license-badge.general {
  background-color: #16a34a; /* Green for General */
}

.license-badge.technician {
  background-color: #2563eb; /* Blue for Tech */
}

/* QRZ Link Action */
.card-actions {
  border-top: 1px solid #334155;
  padding-top: 8px;
  text-align: right;
}

.qrz-link {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.qrz-link:hover {
  color: #f59e0b;
}

/********************************/
/*styles for the net controllers*/
.calendar-timeline {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0px 0;
}

.schedule-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* Distinct visual style for the active current operator */
.schedule-card.current {
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  background-color: #1e2638;
}

/* Date Block Visual */
.date-badge {
  background-color: #0f172a;
  border-radius: 6px;
  min-width: 65px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #334155;
}

.schedule-card.current .date-badge {
  border-color: #f59e0b;
}

.date-badge .month {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}

.date-badge .day {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
}

/* Operator Text Info */
.operator-info {
  flex-grow: 1;
}

.schedule-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.schedule-card.current .schedule-tag {
  color: #f59e0b;
}

.op-callsign {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.op-name {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

/*****************************/
/*Calender of events stylings*/

/* Main timeline wrapper replacing container-tables-multi */
.event-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 10px;
}

/* Base Event Card styling */
.event-card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responsive layout adjustments for mobile screens */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .event-date-block {
    width: 100%;
    text-align: left;
    border-right: none !important;
    border-bottom: 2px solid #334155;
    padding-bottom: 12px;
  }
  .event-actions {
    width: 100%;
  }
  .event-button {
    display: block;
    text-align: center;
  }
}

/* Card hover effect */
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

/* Accent highlight styling for Featured/Next Event */
.event-card.featured {
  border-color: #f59e0b; /* Amber highlight border */
  background-color: #1e2638;
  position: relative;
}

/* Date Block on the Left */
.event-date-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 110px;
  border-right: 2px solid #334155;
  padding-right: 24px;
}

.event-card.featured .event-date-block {
  border-color: #f59e0b;
}

.event-day-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.event-month-year {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Event text area */
.event-content {
  flex-grow: 1;
}

.event-badge {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.event-title {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.event-description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Action button container aligned to the right */
.event-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 150px;
}

/* Primary Button Styling */
.event-button {
  background-color: #f59e0b;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.event-button:hover {
  background-color: #d97706;
}

/* Secondary Button style for non-featured events */
.event-button.secondary {
  background-color: transparent;
  color: #cbd5e1;
  border: 1px solid #475569;
}

.event-button.secondary:hover {
  background-color: #334155;
  color: #ffffff;
  border-color: #64748b;
}

/***************************/
/*Node layouts and stylings*/

/* Container framework replacing the table */
.node-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Individual Node Structural Box */
.node-card {
  background-color: #1e293b;
  border: 1px solid #374151;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.node-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Color border variations according to node states */
.node-card.online { border-left: 4px solid #10b981; }
.node-card.degraded { border-left: 4px solid #f59e0b; }
.node-card.offline { border-left: 4px solid #6b7280; }

/* Left Hand Call/Identity block */
.node-sidebar {
  background-color: #1e293b;
  padding: 20px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-right: 1px solid #374151;
  text-align: center;
}

.node-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.node-callsign {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.node-shortname {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9ca3af;
  background-color: #111827;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

/* Main inner panel content */
.node-main-content {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.node-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.node-location {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 600;
}

/* Node mesh roll badges */
.node-mode-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.node-mode-badge.client { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.node-mode-badge.router { background-color: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.node-comments {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
  font-style: italic;
}

/* Compact Technical Spec Grid inside the card */
.node-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #1f2937;
}

.spec-item {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.spec-label {
  color: #6b7280;
  font-weight: 500;
  margin-right: 4px;
}

/* Live Status Dot Styles */
.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.node-status-dot.online { background-color: #10b981; position: relative; }
.node-status-dot.online.animate::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%; background-color: #10b981;
  animation: node-pulse 2s infinite;
}
.node-status-dot.warnings { background-color: #f59e0b; }
.node-status-dot.dark { background-color: #6b7280; }

@keyframes node-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Mobile Responsive Compression */
@media (max-width: 640px) {
  .node-card { flex-direction: column; }
  .node-sidebar {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #374151;
    padding: 12px 20px;
  }
  .node-identity { flex-direction: row; align-items: center; gap: 10px; }
}
/* Network Notes Panel Box */
.node-network-notes {
  background-color: #1e293b;
  border: 1px solid #475569; /* Distinct distinct boundary line */
  border-left: 4px solid #3b82f6; /* Informative blue accent stripe on left edge */
  border-radius: 8px;
  padding: 20px;
  max-width: 950px;
  margin: 20px auto 24px auto; /* 24px bottom gap separates notes beautifully from first card */
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.notes-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.notes-icon {
  color: #3b82f6; /* Blue icon to match the left border stripe */
}

.notes-body p {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.notes-body p:last-child {
  margin-bottom: 0; /* Prevents awkward double padding at bottom */
}

.notes-subtext {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
}

/* Polished link interactions inside the note block */
.inline-note-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #3b82f6;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.inline-note-link:hover {
  color: #60a5fa;
  border-bottom-style: solid;
  border-color: #60a5fa;
}

/************************/
	/*Table layouts*/
table {
        margin-top: 5px;
        margin-bottom: 5px;
        margin-right: 5px;
        margin-left: 5px;

        border: 0px solid black;
}

table .center {
    margin-left:auto;
    margin-right:auto;
}

th.nf {
        font-weight: bold;
        text-align: left;
}

th {
        background-color: #f1f4f9; 
        font-weight: bold;
        text-align: left;
}

th .right {
        background-color: #f1f4f9; 
        font-weight: bold;
        text-align: center;
}

th .center {
        background-color: #f1f4f9; 
        font-weight: bold;
        text-align: center;
}
tr {
}

tr .alt {
        background-color: #f1f4f9;
}

.hoverTable {
    margin-left:auto;
    margin-right:auto;
}

.hoverTable tr:hover {
        background-color: #c7ccd6;
}

.hoverTable tr {
}

.hoverTable tr .alt {
        background-color: #f1f4f9;
}
td {
        font-size: 14px;
        text-align: left;
}

td .right {
        font-size: 14px;
        text-align: right;
}

td .center {
        font-size: 14px;
        text-align: center;
}
