/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.5; color: #333; background: #f0f0f0; }
a { color: #1a5e1a; text-decoration: none; } a:hover { color: #0d3d0d; text-decoration: underline; }
img { max-width: 100%; height: auto; } table { border-collapse: collapse; width: 100%; }

/* === TOP BANNER === */
.top-banner { background: linear-gradient(180deg, #3a8c3a 0%, #2d7a2d 40%, #1f6b1f 100%); border-bottom: 3px solid #165016; }
.top-banner-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; }
.site-title-block { display: flex; align-items: center; gap: 15px; }
.site-logo-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.site-logo-icon svg { width: 34px; height: 34px; }
.site-title { font-family: 'PT Sans Narrow', 'PT Sans', Arial, sans-serif; font-size: 22px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); line-height: 1.2; }
.site-subtitle { font-size: 12px; color: #c5e8c5; font-weight: 400; margin-top: 2px; }
.top-right-info { text-align: right; color: #d4ecd4; font-size: 12px; line-height: 1.6; }
.top-right-info a { color: #e8f5e8; }
.top-right-info .phone { font-size: 15px; font-weight: 700; color: #fff; display: block; margin-bottom: 2px; }

/* === SECOND NAV === */
.second-nav { background: linear-gradient(180deg, #e8f5e1 0%, #d4edcc 100%); border-bottom: 1px solid #b0d4a0; }
.second-nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 4px 15px; }
.breadcrumb-bar { font-size: 11px; color: #555; } .breadcrumb-bar a { color: #2a6e2a; font-size: 11px; }
.top-links { display: flex; gap: 12px; font-size: 11px; } .top-links a { color: #2a6e2a; }

/* === MAIN LAYOUT === */
.main-wrapper { max-width: 1100px; margin: 0 auto; display: flex; gap: 0; }

/* === LEFT SIDEBAR === */
.left-sidebar { width: 220px; min-width: 220px; background: linear-gradient(180deg, #eaf6e4 0%, #daeccb 50%, #cfe4c2 100%); border-right: 1px solid #b0d4a0; align-self: flex-start; position: sticky; top: 0; }
.left-sidebar .moduletable, .left-sidebar .module { margin-bottom: 0; border-bottom: 1px solid #b0d4a0; }
.left-sidebar .moduletable:last-child, .left-sidebar .module:last-child { border-bottom: none; }
.left-sidebar .module-title, .left-sidebar .moduletable h3 { background: linear-gradient(180deg, #5aad5a 0%, #3d8e3d 100%); color: #fff !important; font-family: 'PT Sans Narrow', Arial, sans-serif; font-size: 14px !important; font-weight: 700; text-transform: uppercase; padding: 9px 12px; border-bottom: 2px solid #2d7a2d; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); margin: 0 !important; }
.left-sidebar ul.nav.menu { list-style: none; padding: 0; margin: 0; }
.left-sidebar ul.nav.menu > li { border-bottom: 1px solid rgba(255,255,255,0.5); }
.left-sidebar ul.nav.menu > li:last-child { border-bottom: none; }
.left-sidebar ul.nav.menu > li > a, .left-sidebar ul.nav.menu > li > span.nav-header { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; color: #1a5e1a !important; font-size: 12.5px; transition: all 0.15s; text-decoration: none; border-left: 3px solid transparent; }
.left-sidebar ul.nav.menu > li > a:hover, .left-sidebar ul.nav.menu > li.active > a { background: rgba(58,140,58,0.12); border-left-color: #2d7a2d; color: #0d3d0d !important; text-decoration: none; font-weight: 700; }
.left-sidebar ul.nav.menu ul { list-style: none; padding: 0; margin: 0; background: rgba(255,255,255,0.3); display: none; }
.left-sidebar ul.nav.menu ul li a { display: block; padding: 6px 12px 6px 30px; color: #1a5e1a !important; font-size: 11.5px; border-left: 3px solid transparent; transition: all 0.15s; }
.left-sidebar ul.nav.menu ul li a:hover, .left-sidebar ul.nav.menu ul li.active > a { background: rgba(58,140,58,0.1); border-left-color: #5aad5a; color: #0d3d0d !important; text-decoration: none; font-weight: 700; }
.left-sidebar ul.nav.menu li.parent > a::after { content: '\25B6'; margin-left: auto; font-size: 9px; color: #7ab07a; }

/* === CENTER CONTENT === */
.center-content { flex: 1; background: #fff; padding: 15px 18px; min-height: 600px; }
.center-content h1, .center-content h2, .center-content .page-header h1, .center-content .page-header h2 { font-family: 'PT Sans Narrow', Arial, sans-serif; font-size: 20px; font-weight: 700; color: #1a5e1a; border-bottom: 2px solid #3a8c3a; padding-bottom: 6px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.3px; }
.center-content h3 { font-family: 'PT Sans Narrow', Arial, sans-serif; font-size: 16px; color: #1a5e1a; margin: 15px 0 8px; font-weight: 700; }
.center-content p { margin-bottom: 10px; line-height: 1.65; }

/* === BUTTONS === */
.btn { padding: 6px 16px; font-size: 12px; font-family: 'PT Sans', Arial, sans-serif; font-weight: 700; border: 1px solid; border-radius: 3px; cursor: pointer; transition: all 0.15s; text-transform: uppercase; display: inline-block; line-height: 1.4; }
.btn-green, .btn-primary { background: linear-gradient(180deg, #5aad5a, #3d8e3d); border-color: #2d7a2d; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.btn-green:hover { background: linear-gradient(180deg, #4a9d4a, #2d7a2d); color: #fff; text-decoration: none; }
.btn-light { background: linear-gradient(180deg, #f5f5f5, #e0e0e0); border-color: #bbb; color: #444; }
.btn-light:hover { background: linear-gradient(180deg, #eee, #d5d5d5); color: #333; text-decoration: none; }

/* === RIGHT SIDEBAR === */
.right-sidebar { width: 280px; min-width: 280px; background: #fff; border-left: 1px solid #ddd; padding: 15px; align-self: flex-start; position: sticky; top: 0; }
.right-sidebar .moduletable, .right-sidebar .module { margin-bottom: 18px; }
.right-sidebar .moduletable:last-child, .right-sidebar .module:last-child { margin-bottom: 0; }
.right-sidebar .module-title, .right-sidebar .moduletable h3 { font-family: 'PT Sans Narrow', Arial, sans-serif; font-size: 13px !important; font-weight: 700; color: #1a5e1a !important; text-transform: uppercase; padding-bottom: 6px; margin-bottom: 10px !important; border-bottom: 2px solid #3a8c3a; }

/* === TABLES === */
table { font-size: 11px; border: 1px solid #c0d8b0; }
table thead th { background: linear-gradient(180deg, #5aad5a, #3d8e3d); color: #fff; font-weight: 700; padding: 6px 5px; text-align: center; font-size: 11px; text-transform: uppercase; border: 1px solid #2d7a2d; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
table tbody td { padding: 5px 5px; border: 1px solid #d4e8cc; text-align: center; vertical-align: middle; }
table tbody tr:nth-child(even) { background: #f5faf2; } table tbody tr:hover { background: #edf7e8; }

/* === MISC === */
.info-block { background: #f7faf5; border: 1px solid #d4edcc; border-radius: 4px; padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.info-block p { margin-bottom: 6px; } .info-block p:last-child { margin-bottom: 0; } .info-label { font-weight: 700; color: #1a5e1a; }
.search-block { background: #f7faf5; border: 1px solid #d4edcc; border-radius: 4px; padding: 12px 15px; margin-bottom: 18px; }
.search-block-label { font-size: 12px; font-weight: 700; color: #2d7a2d; margin-bottom: 6px; text-transform: uppercase; }
.search-row { display: flex; gap: 8px; align-items: center; }
.search-input, .center-content input[type="text"], .center-content input[type="search"], .center-content .form-control { padding: 6px 10px; border: 1px solid #a0c890; border-radius: 3px; font-size: 13px; font-family: 'PT Sans', Arial, sans-serif; outline: none; background: #fff; color: #333; }
.search-input:focus, .center-content input[type="text"]:focus, .center-content .form-control:focus { border-color: #3a8c3a; box-shadow: 0 0 0 2px rgba(58,140,58,0.15); }
.alert { padding: 10px 14px; margin-bottom: 15px; border-radius: 3px; font-size: 13px; }
.pagination { margin: 15px 0; text-align: center; }
.pagination ul { list-style: none; display: inline-flex; gap: 2px; margin: 0; padding: 0; }
.pagination ul li a, .pagination ul li span { display: inline-block; padding: 4px 10px; border: 1px solid #b0d4a0; border-radius: 3px; font-size: 12px; color: #1a5e1a; }
.pagination ul li a:hover { background: #edf7e8; text-decoration: none; }
.pagination ul li span { background: linear-gradient(180deg, #5aad5a, #3d8e3d); color: #fff; border-color: #2d7a2d; font-weight: 700; }

/* === FOOTER === */
.footer { background: linear-gradient(180deg, #2d7a2d 0%, #1f5f1f 100%); border-top: 3px solid #165016; color: #b8dab0; font-size: 11px; padding: 15px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; }
.footer a { color: #d4ecd4; } .footer a:hover { color: #fff; } .footer-copy { line-height: 1.5; } .footer-links { display: flex; gap: 15px; }

/* === BACK TO TOP === */
#backToTop { position: fixed; bottom: 20px; right: 20px; width: 40px; height: 40px; background: linear-gradient(180deg, #5aad5a, #3d8e3d); border: 2px solid #2d7a2d; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); opacity: 0; transition: opacity 0.3s; text-decoration: none; z-index: 999; }
#backToTop:hover { opacity: 1 !important; text-decoration: none; color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .main-wrapper { flex-direction: column; }
    .left-sidebar, .right-sidebar { width: 100%; min-width: auto; position: static; }
    .left-sidebar { border-right: none; border-bottom: 1px solid #b0d4a0; }
    .right-sidebar { border-left: none; border-top: 1px solid #ddd; }
    .top-banner-inner { flex-direction: column; text-align: center; gap: 8px; }
    .top-right-info { text-align: center; }
    .site-title { font-size: 18px; }
    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
    .right-sidebar table { font-size: 10px; }
    .right-sidebar table thead th, .right-sidebar table tbody td { padding: 4px 3px; }
    .site-logo-icon { width: 45px; height: 45px; }
    .site-title { font-size: 15px; }
}