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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 150, 58, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.header-logo {
    width: 50px;
    height: auto;
}

.header-title h1 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: -0.5px;
}

.header-title p {
    color: #6c757d;
    margin: 3px 0 0 0;
    font-size: 0.85rem;
}

.nav-link-custom {
    color: #495057;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 4px;
}

.nav-link-custom:hover {
    background: rgba(0, 150, 58, 0.08);
    color: #00963A;
    transform: translateY(-1px);
}

.nav-link-custom.active {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 150, 58, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, #FF6F00 0%, #ff8534 100%);
    color: white;
    border: none;
    padding: 9px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.25);
}

.btn-login:hover {
    background: linear-gradient(135deg, #E56300 0%, #ff6f00 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}

/* Page Header */
.page-header {
    padding: 40px 0 20px;
}

.page-header h1 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.page-header p {
    color: #6c757d;
    font-size: 1rem;
}

/* Card Styles */
.filter-card, .data-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.filter-card h5, .data-card h5 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-card h5 i, .data-card h5 i {
    color: #00963A;
}

/* Form Styles */
.form-label {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #00963A;
    box-shadow: 0 0 0 3px rgba(0, 150, 58, 0.1);
    outline: none;
}

/* Button Styles */
.btn-filter {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 150, 58, 0.25);
    width: 100%;
}

.btn-filter:hover {
    background: linear-gradient(135deg, #007d2f 0%, #00963A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 58, 0.35);
}

.btn-reset {
    background: white;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-reset:hover {
    background: #f8f9fa;
    border-color: #6c757d;
    color: #495057;
}

.btn-export {
    background: white;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-export:hover {
    background: #f8f9fa;
    border-color: #00963A;
    color: #00963A;
}

/* Table Styles */
.table-responsive {
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
}

.table {
    margin: 0;
    min-width: 100%;
    white-space: nowrap;
}

.table thead {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
}

.table thead th {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 16px 12px;
    border: none;
    white-space: nowrap;
}

.table tbody td {
    padding: 14px 12px;
    color: #495057;
    font-size: 0.9rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover {
    background-color: rgba(0, 150, 58, 0.04);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* State Styles */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-data i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-data h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-data p {
    color: #6c757d;
    font-size: 0.9rem;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading .spinner-border {
    color: #00963A;
    width: 3rem;
    height: 3rem;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 150, 58, 0.15);
    padding: 40px 0 24px;
    margin-top: 60px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 60px;
    height: auto;
}

.footer-title h4 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.footer-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer h5 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact i {
    color: #00963A;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
}

.footer-copyright {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Utility Styles */
.export-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.result-count {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.result-count strong {
    color: #00963A;
    font-weight: 700;
}

.search-box {
    position: relative;
    max-width: 300px;
}

.search-box input {
    padding: 10px 40px 10px 16px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
    width: 100%;
}

.search-box input:focus {
    border-color: #00963A;
    box-shadow: 0 0 0 3px rgba(0, 150, 58, 0.1);
    outline: none;
}

.search-box i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* Select2 Custom Styling */
.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    min-height: 48px !important;
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple::-webkit-scrollbar {
    height: 4px;
}

.select2-container--bootstrap-5 .select2-selection--multiple::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.select2-container--bootstrap-5 .select2-selection--multiple::-webkit-scrollbar-thumb {
    background: #00963A;
    border-radius: 10px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #00963A !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 58, 0.1) !important;
    outline: none !important;
}

.select2-container--bootstrap-5 .select2-selection__choice {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    padding: 4px 10px !important;
    margin: 2px 4px 2px 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection__choice__remove {
    color: white !important;
    margin-right: 6px !important;
    font-weight: bold !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}

.select2-container--bootstrap-5 .select2-selection__choice__remove:hover {
    opacity: 1 !important;
    color: white !important;
}

.select2-container--bootstrap-5 .select2-search--inline .select2-search__field {
    margin: 0 !important;
    padding: 0 8px !important;
    min-width: 120px !important;
    flex-shrink: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 0.95rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: rgba(0, 150, 58, 0.1) !important;
    color: #00963A !important;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%) !important;
    color: white !important;
}

.select2-container--bootstrap-5 .select2-selection__clear {
    color: #6c757d !important;
    font-size: 1.2rem !important;
    margin-right: 8px !important;
}

/* About Page Styles */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.page-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.content-card h2 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2 i {
    color: #00963A;
}

.content-card p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-card li {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.stats-card {
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 150, 58, 0.25);
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 150, 58, 0.35);
}

.stats-card i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stats-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.team-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 150, 58, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.team-name {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.team-position {
    color: #00963A;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-desc {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 150, 58, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.contact-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: #00963A;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: #00b347;
}

.map-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-top: 32px;
}

.map-container h2 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-container h2 i {
    color: #00963A;
}

.map-frame {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-top: 32px;
}

.form-container h2 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-container h2 i {
    color: #00963A;
}

.btn-submit {
    background: linear-gradient(135deg, #FF6F00 0%, #ff8534 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.25);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #E56300 0%, #ff6f00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}

/* News Page Styles */
.news-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #00963A 0%, #00b347 100%);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #6c757d;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: #00963A;
}

.news-title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.btn-read-more {
    background: linear-gradient(135deg, #FF6F00 0%, #ff8534 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.25);
}

.btn-read-more:hover {
    background: linear-gradient(135deg, #E56300 0%, #ff6f00 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}
