/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Row */
.row {
  width: 100%;
}

/* Navigation Menu */
.nav-menu {
  background-color: navy;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  /* Allows wrapping for smaller screens */
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.inline-menu {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  /* Wraps menu items on smaller screens */
  gap: 15px;
  /* Adds space between menu items */
  padding: 0;
  margin: 0;
}

.inline-menu li {
  text-transform: uppercase;
}

.inline-menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.inline-menu li a:hover {
  color: #b9b95c;
}

.inline-menu li a.active {
  color: #b9b95c;
  font-size: 16px;
}

/* Active menu item */
.inline-menu li.active .nav-link {
  /* background-color: #007bff; */
  /* Blue background for active menu */
  color: #b9b95c;
  /* White text for active menu */
  border-radius: 5px;
  padding: 5px 10px;
}

/* Language Toggle */
.language-toggle {
  margin-left: auto;
  color: white;
}

.language-toggle span {
  margin: 0 5px;
}

/* Auth Links */
.auth-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  font-size: 14px;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  border: none;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-primary {
  background-color: #007bff;
}

.btn:hover {
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    /* Stack items vertically */
    align-items: flex-start;
    /* Align items to the left */
  }

  .inline-menu {
    justify-content: center;
    /* Center menu items */
    gap: 10px;
  }

  .inline-menu li {
    margin: 5px 0;
  }

  .language-toggle {
    margin-top: 10px;
  }

  .auth-links {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .inline-menu {
    flex-direction: column;
    /* Stack menu items vertically */
    align-items: center;
  }

  .inline-menu li {
    margin: 5px 0;
  }

  .inline-menu li a {
    font-size: 12px;
    /* Reduce font size for smaller screens */
  }

  .auth-links {
    flex-direction: column;
    /* Stack buttons vertically */
    gap: 5px;
  }
}

/* Additional Styles */
.list-details {
  padding: 20px;
}

.search-assets {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  /* Allows wrapping for smaller screens */
  gap: 10px;
  /* Adds spacing between form elements */
  align-items: center;
  justify-content: flex-start;
}

.search-assets .form-control,
.search-assets .custom-select,
.search-assets .btn {
  flex: 1;
  /* Makes all elements take equal space */
  min-width: 150px;
  /* Ensures a minimum width for all elements */
}

.search-assets .btn {
  text-align: center;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
}

.form-container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  justify-content: space-between;
  /* Ensures space between columns */
  gap: 20px;
  /* Adds space between columns */
}

.form-column {
  flex: 1;
  /* Ensures both columns take equal width */
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.text-center {
  text-align: center;
  /* Centers the text horizontally */
  margin: 0 auto;
  max-width: 800px;
  /* Optionally, centers block elements (like divs) horizontally */
}

.seach-value {
  /* padding: 10px; */
  width: auto !important;
}

.alert-danger {
  color: red;
}

.excel_btn,
.clear-btn {
  text-decoration: none !important;
}

.pull-right {
  position: absolute;
  right: 20px;
}

.notice {
  color: orange;
}

.alert {
  color: red;
}

/* General rule for all <li> elements */
li {
  text-decoration: none;
  /* Removes text decoration from all <li> elements */
}

/* Responsive styles */
@media (max-width: 768px) {
  .search-assets {
    flex-direction: column;
    /* Stack form elements vertically */
    align-items: stretch;
    /* Make elements take full width */
  }

  .search-assets .form-control,
  .search-assets .custom-select,
  .search-assets .btn {
    width: 100%;
    /* Full width for smaller screens */
  }
}

@media (max-width: 480px) {
  .search-assets {
    gap: 5px;
    /* Reduce spacing for very small screens */
  }

  .search-assets .btn {
    font-size: 12px;
    /* Reduce button font size for smaller screens */
    padding: 8px 10px;
    /* Adjust padding for smaller buttons */
  }
}

/* Table Styles */
.table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
  background-color: #fff;
}

.table th,
.table td {
  text-align: left;
  padding: 12px;
  vertical-align: middle;
}

.table thead th {
  background-color: #343a40;
  /* color: #fff; */
  font-weight: bold;
}

.table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
  /* Light gray for alternate rows */
}

.table tbody tr:hover {
  background-color: #e9ecef;
  /* Slightly darker gray on hover */
}

.table td:last-child {
  text-align: center;
}

/* Responsive Table */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Button Styles */
.btn {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
}

.btn-sm {
  font-size: 12px;
  padding: 4px 8px;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.ml-15 {
  margin-left: 15px;
}

.mt-10 {
  margin-top: 10px;
}

/* Align label and link in one line */
.form-group.d-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Adds spacing between label and link */
}

.form-group.d-flex .form-label {
  margin-bottom: 0;
  /* Removes bottom margin from the label */
}


td a {
  text-decoration: none !important;
}
table.table-bordered {
    width: 100%;
    border-collapse: collapse;
}

table.table-bordered th,
table.table-bordered td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

table.table-bordered th {
    background-color: #f2f2f2;
}

/* Optional: Add custom styles for responsiveness */
.table-responsive {
    overflow-x: auto;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */
