/* ============================================
   WCHL - GTHLA-Style Design
   style_37.css
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8f9fa;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 120px;
    transition: padding-top 0.3s ease;
}

body.scrolled {
    padding-top: 80px;
}

/* ============================================
   WCHL Header - GTHLA Style
   ============================================ */

#wchl-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sticky-header {
    height: 120px;
}

.sticky-header.scrolled {
    height: 80px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo Section */
.header-logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    transition: all 0.3s ease;
}

.header-logo img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.sticky-header.scrolled .header-logo img {
    height: 60px;
}

/* Navigation Menu */
#wchl-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 0;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Navigation Links - GTHLA Style */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0 25px;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

/* Current/Active Link Style */
.nav-link.current {
    background: #fff;
    color: #1e3a8a;
}

/* Hover effect */
.nav-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ?';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 3px solid #1e3a8a;
    z-index: 9998;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #1e3a8a;
    color: #fff;
    padding-left: 25px;
}

/* ============================================
   Login Status Bar
   ============================================ */

.login-status-bar {
    background: #374151;
    color: #fff;
    padding: 8px 20px;
    font-size: 12px;
    position: fixed;
    top: 120px;
    width: 100%;
    z-index: 9998;
    transition: all 0.3s ease;
}

body.scrolled .login-status-bar {
    top: 80px;
}

/* Update login status table styles */
table {
    width: 100%;
}

.Data1 {
    background: transparent;
}

.nav a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 12px;
}

.nav a:hover {
    color: #fff;
    text-decoration: underline;
}

input[type="text"], input[type="password"] {
    padding: 3px 5px;
    border: 1px solid #6b7280;
    border-radius: 3px;
    font-size: 11px;
}

input[type="submit"] {
    background: #1e3a8a;
    color: #fff;
    border: none;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}

input[type="submit"]:hover {
    background: #1e40af;
}

/* ============================================
   Main Content Area
   ============================================ */

#content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
    min-height: calc(100vh - 200px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Page Title Styling */
h1, h2 {
    color: #1e3a8a;
    font-weight: 700;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

th, .TableHeader {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 15px 10px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

/* Alternating row colors */
tr:nth-child(even) {
    background: #f9fafb;
}

tr:hover {
    background: #eff6ff;
}

/* Data Sub Headers (Division Headers) */
.DataSubHeader {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: #fff;
    font-weight: 700;
    padding: 10px;
}

.DataSubHeader strong {
    color: #fff;
}

.DataSubHeader a {
    color: #93c5fd;
    text-decoration: none;
    margin-left: 10px;
}

.DataSubHeader a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Section Headers */
.SectionHeader {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links */
a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Navigation links in tables */
a.NAV {
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 500;
}

a.NAV:hover {
    color: #3b82f6;
}

/* Footer */
#wchl-footer {
    background: #1f2937;
    color: #9ca3af;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

#wchl-footer p {
    margin: 0;
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
    .nav-link {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .header-logo img {
        height: 80px;
    }
    
    .sticky-header.scrolled .header-logo img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .sticky-header {
        height: 100px;
    }
    
    .sticky-header.scrolled {
        height: 70px;
    }
    
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .header-logo {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }
    
    .header-logo img {
        height: 60px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }
    
    .nav-item {
        height: auto;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
        height: auto;
    }
    
    body {
        padding-top: 130px;
    }
    
    body.scrolled {
        padding-top: 90px;
    }
    
    #content {
        padding: 15px 10px;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    #wchl-header,
    .login-status-bar,
    #wchl-footer {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    #content {
        box-shadow: none;
        padding: 0;
    }
}