 /* Base Styles */
 :root {
     --primary-color: #2c7be5;
     --secondary-color: #6c757d;
     --success-color: #00d97e;
     --info-color: #39afd1;
     --warning-color: #f6c343;
     --danger-color: #e63757;
     --light-color: #f8f9fa;
     --dark-color: #12263f;
     --border-color: #e3ebf6;
     --card-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
     --transition: all 0.3s ease;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
 }

 body {
     line-height: 1.6;
     color: var(--dark-color);
     background-color: #f9fbfd;
     display: flex;
     flex-direction: column;
     min-height: 100vh;
     font-size: 0.9375rem;
     font-weight: 400;
 }

 /* Navigation Styles */
 .nav-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 100%;
     margin: 0 auto;
     padding: 1rem 3rem;
 }

 nav {
     background-color: #5baa5f;
     /* Dark green */
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 0;
     z-index: 1000;
 }

 .logo {
     color: white;
     font-size: 1.25rem;
     font-weight: bold;
     text-decoration: none;
     white-space: nowrap;
 }

 .nav-links {
     display: flex;
     list-style: none;
     align-items: center;
 }

 .nav-links li {
     margin-left: 1.25rem;
 }

 .nav-links a {
     color: white;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.3s ease;
     padding: 0.5rem 0;
     position: relative;
     font-size: 0.875rem;
     white-space: nowrap;
 }

 .nav-links a:hover,
 .nav-links a.active {
     color: #a5d6a7;
     /* Light green */
 }

 .nav-links a.active::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 2px;
     background-color: #a5d6a7;
 }

 /* Hero Section */
 .hero {
     background: #7bc148;
     color: white;
     padding: 2rem 5%;
     text-align: center;
 }

 .hero h1 {
     font-size: 2rem;
     margin-bottom: 0.5rem;
 }

 .hero p {
     font-size: 1rem;
     max-width: 800px;
     margin: 0 auto 1rem;
 }

 /* Main Content */
 main {
     flex: 1;
     padding: 2rem 0;
 }

 /* Datasets Table Styles */
 .datasets-controls {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1.5rem;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .datasets-table-container {
     width: 100%;
     overflow-x: auto;
     margin-bottom: 1.5rem;
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .datasets-table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
     font-size: 0.9rem;
 }

 .datasets-table th,
 .datasets-table td {
     padding: 0.75rem 1rem;
     text-align: left;
     border-bottom: 1px solid #f0f0f0;
     vertical-align: middle;
 }

 .datasets-table th {
     background-color: #4a6fa5;
     color: white;
     font-weight: 600;
     text-transform: uppercase;
     font-size: 0.75rem;
     letter-spacing: 0.5px;
     white-space: nowrap;
     cursor: pointer;
     transition: all 0.2s ease;
     position: relative;
     padding: 0.8rem 1rem;
 }

 .datasets-table th:hover {
     background-color: #3a5a8c;
 }

 .datasets-table th i {
     margin-left: 0.5rem;
     color: rgba(255, 255, 255, 0.7);
     font-size: 0.7em;
     transition: transform 0.2s ease;
 }

 .datasets-table tbody tr {
     transition: all 0.2s ease;
 }

 .datasets-table tbody tr:nth-child(odd) {
     background-color: #ffffff;
 }

 .datasets-table tbody tr:nth-child(even) {
     background-color: #f9fafc;
 }

 .datasets-table tbody tr:hover {
     background-color: #f0f4f9;
     transform: translateX(2px);
     box-shadow: 2px 0 0 0 #4a6fa5 inset;
 }

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

 .datasets-table td {
     color: #4a5568;
     padding: 0.85rem 1rem;
 }

 .datasets-table tr:first-child th:first-child {
     border-top-left-radius: 10px;
 }

 .datasets-table tr:first-child th:last-child {
     border-top-right-radius: 10px;
 }

 .datasets-table tr:last-child td:first-child {
     border-bottom-left-radius: 10px;
 }

 .datasets-table tr:last-child td:last-child {
     border-bottom-right-radius: 10px;
 }

 /* Compact mode */
 .datasets-table.compact th,
 .datasets-table.compact td {
     padding: 0.6rem 0.8rem;
     font-size: 0.85rem;
 }

 /* Responsive adjustments */
 @media (max-width: 992px) {
     .datasets-table {
         font-size: 0.85rem;
     }

     .datasets-table th,
     .datasets-table td {
         padding: 0.7rem 0.8rem;
     }
 }

 /* Form Styles */
 .form-group {
     margin-bottom: 1.5rem;
     position: relative;
 }

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 500;
     color: #2d3748;
     transition: all 0.2s ease-in-out;
 }

 .form-label {
     color: #2d3748;
     font-weight: 600;
     margin-bottom: 0.5rem;
 }

 .form-control,
 .form-select {
     padding: 0.75rem 1rem;
     border: 1px solid #e2e8f0;
     border-radius: 0.5rem;
     font-size: 1rem;
     line-height: 1.5;
     transition: all 0.2s ease-in-out;
     box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 }

 .form-control:focus,
 .form-select:focus {
     border-color: #4a6fa5;
     box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
     outline: none;
 }

 .input-group-text {
     background-color: #f8fafc;
     border: 1px solid #e2e8f0;
     color: #4a6fa5;
     padding: 0.75rem 1rem;
     transition: all 0.2s ease-in-out;
 }

 .input-group:focus-within .input-group-text {
     border-color: #4a6fa5;
     background-color: #edf2f7;
 }

 .form-text {
     font-size: 0.875rem;
     color: #718096;
     margin-top: 0.25rem;
 }

 /* Form Steps */
 .step-indicator {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background-color: #e2e8f0;
     color: #64748b;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 600;
     position: relative;
     z-index: 1;
     transition: all 0.3s ease;
 }

 .step-line {
     flex: 1;
     height: 3px;
     background-color: #e2e8f0;
     margin: 0 -10px;
     position: relative;
     top: 20px;
 }

 .step-indicator.active {
     background-color: #4a6fa5;
     color: white;
     transform: scale(1.1);
     box-shadow: 0 4px 6px -1px rgba(74, 111, 165, 0.2);
 }

 .step-indicator.completed {
     background-color: #38a169;
     color: white;
 }

 /* Form Steps Content */
 .form-step {
     display: none;
     animation: fadeIn 0.3s ease-in-out;
 }

 .form-step.active {
     display: block;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Multiselect Styles */
 .multiselect {
     position: relative;
     width: 100%;
 }

 .select-box {
     position: relative;
     cursor: pointer;
 }

 .select-box select {
     width: 100%;
     padding: 0.75rem 1rem;
     border: 1px solid #e2e8f0;
     border-radius: 0.5rem;
     background-color: white;
     appearance: none;
     cursor: pointer;
     transition: all 0.2s ease-in-out;
 }

 .checkboxes {
     display: none;
     position: absolute;
     left: 0;
     right: 0;
     max-height: 300px;
     overflow-y: auto;
     background: white;
     border: 1px solid #e2e8f0;
     border-radius: 0.5rem;
     margin-top: 0.25rem;
     z-index: 1000;
     box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
     padding: 0.5rem;
 }

 .checkboxes.show {
     display: block;
     animation: fadeIn 0.2s ease-in-out;
 }

 .country-list {
     max-height: 250px;
     overflow-y: auto;
     padding: 0.25rem;
 }

 .country-list .form-check {
     padding: 0.5rem;
     margin: 0.25rem 0;
     border-radius: 0.375rem;
     transition: all 0.2s ease;
 }

 .country-list .form-check:hover {
     background-color: #f8fafc;
 }

 .country-list .form-check-input {
     margin-top: 0.25rem;
 }

 .country-list .form-check-label {
     margin-left: 0.5rem;
     cursor: pointer;
 }

 /* Selected Tags */
 .selected-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     margin-top: 0.5rem;
 }

 .tag {
     background-color: #e2e8f0;
     color: #2d3748;
     padding: 0.25rem 0.75rem;
     border-radius: 9999px;
     font-size: 0.875rem;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
 }

 .tag-remove {
     color: #64748b;
     cursor: pointer;
     font-size: 1.25rem;
     line-height: 1;
     padding: 0.125rem;
     margin-left: 0.25rem;
     border-radius: 50%;
     transition: all 0.2s ease;
 }

 .tag-remove:hover {
     background-color: #cbd5e0;
     color: #1a202c;
 }

 /* Form Actions */
 .form-actions {
     display: flex;
     justify-content: space-between;
     margin-top: 2rem;
     padding-top: 1.5rem;
     border-top: 1px solid #e2e8f0;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .form-row {
         flex-direction: column;
         gap: 1rem;
     }

     .form-row .form-group {
         width: 100%;
     }

     .step-indicator {
         width: 32px;
         height: 32px;
         font-size: 0.875rem;
     }

     .step-line {
         top: 16px;
     }
 }

 /* Button Styles */
 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 0.75rem 1.5rem;
     border-radius: 0.5rem;
     font-weight: 500;
     transition: all 0.2s ease-in-out;
     gap: 0.5rem;
     border: 1px solid transparent;
     cursor: pointer;
 }

 .btn-lg {
     padding: 0.875rem 1.75rem;
     font-size: 1.125rem;
 }

 .btn-sm {
     padding: 0.4rem 0.8rem;
     font-size: 0.875rem;
 }

 .btn-primary {
     background-color: #4a6fa5;
     color: white;
     border-color: #3a5a8c;
 }

 .btn-primary:hover {
     background-color: #3a5a8c;
     transform: translateY(-1px);
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
 }

 .btn-outline-secondary {
     background-color: transparent;
     border-color: #cbd5e0;
     color: #4a5568;
 }

 .btn-outline-secondary:hover {
     background-color: #f7fafc;
     border-color: #a0aec0;
 }

 .btn-success {
     background-color: #38a169;
     color: white;
     border-color: #2f855a;
 }

 .btn-success:hover {
     background-color: #2f855a;
     transform: translateY(-1px);
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
 }

 .btn-link {
     color: #4a6fa5;
     text-decoration: none;
     padding: 0.5rem 1rem;
     background: none;
     border: none;
 }

 .btn-link:hover {
     text-decoration: underline;
     color: #3a5a8c;
 }

 /* Animations */
 @keyframes slideInUp {
     from {
         transform: translateY(20px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 .animate-slide-up {
     animation: slideInUp 0.3s ease-out forwards;
 }

 .form-group input[type="text"],
 .form-group input[type="number"],
 .form-group textarea,
 .form-group select {
     width: 100%;
     padding: 0.75rem;
     border: 1px solid #e2e8f0;
     border-radius: 6px;
     font-size: 1rem;
     transition: border-color 0.2s, box-shadow 0.2s;
 }

 .form-group input[type="text"]:focus,
 .form-group input[type="number"]:focus,
 .form-group textarea:focus,
 .form-group select:focus {
     border-color: #4a6fa5;
     box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
     outline: none;
 }

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

 .form-row {
     display: flex;
     gap: 1rem;
     margin-bottom: 1.5rem;
 }

 .form-row .form-group {
     flex: 1;
     margin-bottom: 0;
 }

 /* Multiselect Styles */
 .multiselect {
     position: relative;
     width: 100%;
 }

 .select-box {
     position: relative;
     cursor: pointer;
 }

 .select-box select {
     width: 100%;
     padding: 0.75rem;
     border: 1px solid #e2e8f0;
     border-radius: 6px;
     background-color: white;
     appearance: none;
     cursor: pointer;
 }

 .over-select {
     position: absolute;
     left: 0;
     right: 0;
     top: 0;
     bottom: 0;
     background: transparent;
 }

 .checkboxes {
     display: none;
     position: absolute;
     left: 0;
     right: 0;
     max-height: 200px;
     overflow-y: auto;
     background: white;
     border: 1px solid #e2e8f0;
     border-radius: 6px;
     margin-top: 4px;
     z-index: 1000;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 }

 .checkboxes label {
     display: block;
     padding: 0.75rem 1rem;
     cursor: pointer;
     transition: background-color 0.2s;
 }

 .checkboxes label:hover {
     background-color: #f7fafc;
 }

 .checkboxes input[type="checkbox"] {
     margin-right: 0.75rem;
 }

 /* Modal Styles */
 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5);
     z-index: 1000;
     overflow-y: auto;
     padding: 2rem 1rem;
 }

 .modal-content {
     position: relative;
     background-color: white;
     margin: 2rem auto;
     max-width: 700px;
     border-radius: 10px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
     overflow: hidden;
 }

 .modal-header {
     padding: 1.5rem;
     background-color: #4a6fa5;
     color: white;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .modal-header h3 {
     margin: 0;
     font-size: 1.5rem;
 }

 .modal-body {
     padding: 1.5rem;
 }

 .close {
     font-size: 1.8rem;
     font-weight: bold;
     cursor: pointer;
     transition: color 0.2s;
 }

 .close:hover {
     color: #e2e8f0;
 }

 .form-actions {
     display: flex;
     justify-content: flex-end;
     gap: 1rem;
     padding-top: 1rem;
     border-top: 1px solid #e2e8f0;
     margin-top: 2rem;
 }

 /* Button Styles */
 .btn {
     display: inline-flex;
     align-items: center;
     padding: 0.6rem 1.2rem;
     border: 1px solid transparent;
     border-radius: 6px;
     font-size: 0.95rem;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.2s;
     text-decoration: none;
 }

 .btn i {
     margin-right: 0.5rem;
 }

 .btn-primary {
     background-color: #4a6fa5;
     color: white;
     border-color: #3a5a8c;
 }

 .btn-primary:hover {
     background-color: #3a5a8c;
 }

 .btn-outline {
     background-color: transparent;
     border: 1px solid #e2e8f0;
     color: #4a5568;
 }

 .btn-outline:hover {
     background-color: #f7fafc;
     border-color: #cbd5e0;
 }

 /* Datasets Header */
 .datasets-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1.5rem;
 }

 .datasets-header h3 {
     margin: 0;
     font-size: 1.5rem;
     color: #2d3748;
 }

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

 #pageInfo {
     font-weight: 500;
     color: #495057;
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .datasets-controls {
         flex-direction: column;
         align-items: stretch;
     }

     .datasets-table th,
     .datasets-table td {
         padding: 0.75rem 0.5rem;
         font-size: 0.9rem;
     }
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 5%;
 }

 .page-header {
     margin-bottom: 2rem;
     padding-bottom: 1rem;
     border-bottom: 2px solid #e0e0e0;
 }

 /* Cards */
 .card {
     background: white;
     border-radius: 8px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     padding: 1.5rem;
     margin-bottom: 2rem;
 }

 /* Footer */
 footer {
     background-color: #1b5e20;
     /* Darker green */
     color: white;
     margin-top: auto;
 }

 /* View Page Styles */
 .view-container {
     max-width: 1200px;
     margin: 2rem auto;
     padding: 0 1.5rem;
 }

 .section-card {
     background: #fff;
     border-radius: 0.5rem;
     box-shadow: var(--card-shadow);
     padding: 1.5rem;
     margin-bottom: 1.5rem;
     border: 1px solid var(--border-color);
     transition: var(--transition);
 }

 .section-card:hover {
     box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
     transform: translateY(-2px);
 }

 .section-card h3 {
     color: var(--dark-color);
     margin-bottom: 1.25rem;
     padding-bottom: 0.75rem;
     border-bottom: 1px solid var(--border-color);
     font-weight: 600;
     font-size: 1.25rem;
 }

 .details-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 1.25rem;
 }

 .details-grid dt {
     font-weight: 600;
     color: var(--secondary-color);
     margin-bottom: 0.25rem;
     font-size: 0.875rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .details-grid dd {
     margin-bottom: 1rem;
     color: var(--dark-color);
     font-size: 0.95rem;
     line-height: 1.6;
 }

 /* Badges */
 .badge {
     font-weight: 500;
     padding: 0.35em 0.65em;
     border-radius: 50rem;
     font-size: 0.75em;
     letter-spacing: 0.3px;
     margin-right: 0.5rem;
     margin-bottom: 0.5rem;
     display: inline-flex;
     align-items: center;
     line-height: 1.2;
 }

 .badge i {
     margin-right: 0.25rem;
     font-size: 0.9em;
 }

 /* Tabs */
 .nav-tabs {
     border-bottom: 1px solid var(--border-color);
     margin-bottom: 1.5rem;
 }

 .nav-tabs .nav-link {
     border: none;
     color: var(--secondary-color);
     font-weight: 500;
     padding: 0.75rem 1.25rem;
     margin-right: 0.5rem;
     border-radius: 0.25rem 0.25rem 0 0;
     transition: var(--transition);
 }

 .nav-tabs .nav-link:hover {
     color: var(--primary-color);
     background-color: rgba(44, 123, 229, 0.05);
 }

 .nav-tabs .nav-link.active {
     color: var(--primary-color);
     background-color: #fff;
     border-bottom: 2px solid var(--primary-color);
 }

 /* Buttons */
 .btn {
     font-weight: 500;
     padding: 0.5rem 1rem;
     border-radius: 0.375rem;
     transition: var(--transition);
     display: inline-flex;
     align-items: center;
     justify-content: center;
 }

 .btn i {
     margin-right: 0.5rem;
 }

 .btn-outline-primary {
     color: var(--primary-color);
     border: 1px solid var(--primary-color);
     background: transparent;
 }

 .btn-outline-primary:hover {
     background-color: var(--primary-color);
     color: #fff;
 }

 /* Dataset Header */
 .dataset-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid var(--border-color);
 }

 .dataset-header h1 {
     color: var(--dark-color);
     font-weight: 700;
     margin: 0;
     line-height: 1.3;
 }

 .action-buttons {
     display: flex;
     gap: 0.75rem;
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .details-grid {
         grid-template-columns: 1fr;
     }

     .dataset-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 1rem;
     }

     .action-buttons {
         width: 100%;
         flex-wrap: wrap;
     }

     .action-buttons .btn {
         flex: 1;
         min-width: 120px;
     }
 }

 /* Loading animation */
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .section-card {
     animation: fadeIn 0.3s ease-out forwards;
 }

 /* Tooltips */
 [data-bs-toggle="tooltip"] {
     cursor: help;
     border-bottom: 1px dotted var(--secondary-color);
 }

 /* Footer */
 .footer-content {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     max-width: 1200px;
     margin: 0 auto;
     padding: 3rem 5%;
 }

 .footer-section {
     flex: 1;
     min-width: 200px;
     margin-bottom: 1.5rem;
 }

 .footer-section h3 {
     margin-bottom: 1rem;
     font-size: 1.2rem;
 }

 .footer-section ul {
     list-style: none;
 }

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

 .footer-section a {
     color: #e0e0e0;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .footer-section a:hover {
     color: #a5d6a7;
 }

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

 .social-icon {
     color: white;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .social-icon:hover {
     color: #a5d6a7;
 }

 .footer-bottom {
     text-align: center;
     padding: 1rem 0;
     background-color: #0d3e10;
     font-size: 0.9rem;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .nav-container {
         flex-direction: column;
         text-align: center;
     }

     .nav-links {
         margin-top: 1rem;
         flex-wrap: wrap;
         justify-content: center;
     }

     .nav-links li {
         margin: 0.5rem 1rem;
     }

     .hero h1 {
         font-size: 2rem;
     }

     .footer-content {
         flex-direction: column;
     }

     .footer-section {
         margin-bottom: 2rem;
     }
 }

 /* Utility Classes */
 .text-center {
     text-align: center;
 }

 .mt-1 {
     margin-top: 0.5rem;
 }

 .mt-2 {
     margin-top: 1rem;
 }

 .mt-3 {
     margin-top: 1.5rem;
 }

 .mb-1 {
     margin-bottom: 0.5rem;
 }

 .mb-2 {
     margin-bottom: 1rem;
 }

 .mb-3 {
     margin-bottom: 1.5rem;
 }