/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #f8fafc;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(to right, #dc2626, #b91c1c, #dc2626);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-text {
    font-weight: 600;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    text-align: center;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Logo Section */
.logo-section {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 1.25rem 1rem;
    border-bottom: 2px solid #dbeafe;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 1.875rem;
    font-weight: 700;
}

.brand-text {
    color: #1e293b;
}

.brand-separator {
    color: #d97706;
    margin: 0 0.5rem;
}

.name-text {
    color: #475569;
}

.subtitle {
    border-left: 2px solid #d97706;
    padding-left: 1rem;
}

.subtitle-text {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
}

.subtitle-text-red {
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 600;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.btn-ghost:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: scale(1.05);
}

.btn-primary {
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
    font-size: 0.875rem;
}

.btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(220, 38, 38, 0.4);
}

.btn-search {
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
    font-size: 0.875rem;
}

.btn-search:hover {
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid #cbd5e1;
    padding: 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.menu-icon {
    font-size: 1.5rem;
    color: #1d4ed8;
}

/* Main Navigation */
.main-nav {
    background: linear-gradient(to right, #1e3a8a, #1e40af, #1e3a8a);
    border-bottom: 1px solid rgba(147, 197, 253, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 1.5rem 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    background: #1e40af;
    transform: scale(1.05);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 0.75rem;
    min-width: 280px;
    z-index: 100;
    border: 1px solid #dbeafe;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 1rem;
    color: #1e293b;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.dropdown-menu a:hover {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 180px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    z-index: 100;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
}

.mobile-menu-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.mobile-menu-content a:hover {
    background: #dbeafe;
    color: #dc2626;
}

.mobile-submenu {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-submenu-title {
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: #64748b;
    font-size: 0.875rem;
}

.mobile-submenu a {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.mobile-menu-cta {
    background: linear-gradient(to right, #dc2626, #b91c1c) !important;
    color: white !important;
    font-weight: 700;
    text-align: center;
    margin-top: 0.5rem;
}

.mobile-menu-cta-blue {
    background: linear-gradient(to right, #1d4ed8, #1e40af) !important;
    color: white !important;
    font-weight: 700;
    text-align: center;
    margin-top: 0.5rem;
}

/* Main Content */
.main-content {
    min-height: 60vh;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 8rem 1rem;
    color: white;
    overflow: hidden;
}
.status.js-status.err{
    color: #f00;
    font-size: 14px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 40, 80, 0.9), rgba(0, 20, 40, 0.95));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 960px;
}

.hero-badge {
    display: inline-block;
    background: #d97706;
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-red {
    background: #dc2626;
    color: white;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

.btn-red:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1e293b;
    transform: scale(1.05);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.5s;
}

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

.card-header {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.card-content {
    padding: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #1e40af;
    transform: scale(1.02);
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    min-width: 40px;
    height: 36px;
    padding: 0 0.5rem;
    border: 2px solid #cbd5e1;
    background: white;
    color: #1e293b;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.pagination-btn:hover:not(:disabled) {
    background: #dbeafe;
    border-color: #1d4ed8;
}

.pagination-btn.active {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #1e3a8a, #1e40af, #1e3a8a);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.footer-container {
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-separator {
    color: #d97706;
    margin: 0 0.25rem;
}

.footer-subtitle {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-title {
    color: #d97706;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #d97706;
    transform: translateX(4px);
}

.footer-contact {
    font-size: 0.875rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
    color: #d97706;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
}

.contact-item a:hover {
    color: #d97706;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: #d97706;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
    display: none;
}

.scroll-top-btn.visible {
    display: block;
}

.scroll-top-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-items {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .subtitle-text,
    .subtitle-text-red {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Utility Classes */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.text-red { color: #dc2626; }
.text-blue { color: #1d4ed8; }
.text-gold { color: #d97706; }

.bg-light { background: #f8fafc; }
.bg-white { background: white; }

.border-left-blue {
    border-left: 4px solid #1d4ed8;
}

.border-left-red {
    border-left: 4px solid #dc2626;
}

.border-left-gold {
    border-left: 4px solid #d97706;
}
.hide { display: none!important;}
.form-control {
    padding: 10px;
    margin: 10px 0px;
    width: 100%;
}
table { width: 100%;}
table th { text-align: left; padding: 10px;}
table td { padding: 10px; border: 1px solid #ccc; bottom: 0px; }
table tr { padding: 0;  }
.hd-01 {padding: 20px 0px 0px 0px;}
