/* Consolidated stylesheet extracted from individual pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: visible;
}

.header {
    background: linear-gradient(135deg, #0C1684 0%, #1a2ba8 100%);
    color: white;
    padding: 5px 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #ffffff;
}

.header p {
    opacity: 0.9;
    font-size: 16px;
}

.nav-menu {
    background: #0a1269;
    padding: 0;
    border-bottom: 3px solid #0C1684;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-menu > ul > li > a {
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu > ul > li > a:hover {
    border-bottom-color: #ffffff;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: #ffffff;
    font-weight: 600;
}

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

.nav-menu .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a1269;
    min-width: 200px;
    max-height: none;
    overflow: visible;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1000;
    border-top: 3px solid #0C1684;
}

.nav-menu .dropdown:hover .dropdown-content {
    display: block;
}

.nav-menu .dropdown-content a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
}

.nav-menu .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #ffffff;
}

.nav-menu .dropdown-content a.active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
}

.nav-menu .dropdown > a::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 5px;
}

.content {
    padding: 60px 30px;
    text-align: center;
}

.content h2 {
    font-size: 28px;
    color: #0C1684;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    color: #495057;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.fishery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.fishery-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #0C1684;
    transition: all 0.3s;
    cursor: pointer;
}

.fishery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 22, 132, 0.2);
}

.fishery-card h3 {
    font-size: 20px;
    color: #0C1684;
    margin-bottom: 15px;
}

.fishery-card ul {
    list-style: none;
    text-align: left;
}

.fishery-card li {
    padding: 8px 0;
}

.fishery-card a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
}

.fishery-card a:hover {
    color: #0C1684;
    background: rgba(12, 22, 132, 0.05);
}

        .controls {
            padding: 20px 30px;
            background: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 10px 24px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: #0C1684;
            color: white;
        }

        .btn-primary:hover {
            background: #0a1269;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(12, 22, 132, 0.4);
        }

        .btn-primary:disabled {
            background: #adb5bd;
            cursor: not-allowed;
            transform: none;
        }

        .auto-refresh-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 16px;
            background: white;
            border-radius: 6px;
            border: 1px solid #dee2e6;
        }

        .auto-refresh-toggle label {
            font-size: 14px;
            color: #495057;
            cursor: pointer;
            user-select: none;
        }

        .toggle-switch {
            position: relative;
            width: 48px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.3s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: #0C1684;
        }

        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }

        .content {
            padding: 30px;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 10px 12px;
            border-radius: 8px;
            border-left: 4px solid #0C1684;
        }

        .stat-card h3 {
            font-size: 10px;
            color: #6c757d;
            text-transform: uppercase;
            margin-bottom: 3px;
        }

        .stat-card p {
            font-size: 16px;
            font-weight: bold;
            color: #0C1684;
			line-height:1;
			margin:0;
        }

        .status {
            padding: 12px 20px;
            border-radius: 6px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }

        .status.loading {
            display: block;
            background: #e7f5ff;
            color: #1971c2;
            border-left: 4px solid #1971c2;
        }

        .status.error {
            display: block;
            background: #ffe8e8;
            color: #c92a2a;
            border-left: 4px solid #c92a2a;
        }

        .status.success {
            display: block;
            background: #d3f9d8;
            color: #2b8a3e;
            border-left: 4px solid #2b8a3e;
        }

        .table-wrapper {
            overflow-x: auto;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        thead {
            background: linear-gradient(135deg, #0C1684 0%, #1a2ba8 100%);
            color: white;
        }

        th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        td {
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
        }

        tbody tr:hover {
            background: #f8f9fa;
        }

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

        .loading-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(25, 113, 194, 0.3);
            border-top-color: #1971c2;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 8px;
            vertical-align: middle;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #868e96;
        }

        .empty-state svg {
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .pagination-info {
            font-size: 14px;
            color: #495057;
        }

        .pagination-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .pagination-btn {
            padding: 8px 16px;
            border: 1px solid #dee2e6;
            background: white;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .pagination-btn:hover:not(:disabled) {
            background: #0C1684;
            color: white;
            border-color: #0C1684;
        }

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

        .pagination-select {
            padding: 8px 12px;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            font-size: 14px;
            background: white;
            cursor: pointer;
        }

        .page-numbers {
            display: flex;
            gap: 5px;
        }

        .page-number {
            padding: 8px 12px;
            border: 1px solid #dee2e6;
            background: white;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            min-width: 40px;
            text-align: center;
        }

        .page-number:hover {
            background: #e9ecef;
        }

        .page-number.active {
            background: #0C1684;
            color: white;
            border-color: #0C1684;
        }

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 8px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header p {
        font-size: 14px;
    }

    .nav-menu {
        padding: 10px 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 3px solid transparent;
    }

    .nav-menu > ul > li > a:hover {
        border-bottom-color: rgba(255, 255, 255, 0.1);
        border-left-color: #ffffff;
    }

    .nav-menu a.active {
        border-left-color: #ffffff;
    }

    /* Mobile dropdown */
    .nav-menu .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.2);
    }

    .nav-menu .dropdown.open .dropdown-content {
        display: block;
    }

    .nav-menu .dropdown > a {
        cursor: pointer;
    }

    .nav-menu .dropdown-content a {
        padding-left: 40px;
    }

    .content {
        padding: 40px 20px;
    }

    .content h2 {
        font-size: 22px;
    }

    .content p {
        font-size: 16px;
    }

    .fishery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* End consolidated styles */
