* {
    /* background-color: #e0dfde; */
    font-family: 'Barlow', sans-serif;
}
html {
    background: url("blue.cf838ea59f0b.jpg") fixed;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
.small_screen_warning {
  display: none;
}
/*------------------*/
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Main Content */
.main {
    flex: 1;
    padding: 2rem;
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
}
.welcome-section {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
}
#welcome-title {
    font-weight: 500;
    color: #0f172a;
    margin-left: 0.5rem;
    text-align: center; /* Align text in the middle */
}
.welcome-username {
    margin: 0.75rem 0 0;
    text-align: center;
    color: #475569;
    font-size: 1rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tab-button:hover {
    background-color: #FBBB22;
    color: black;
}
.tab-button.active {
    background-color: #0f172a;
    color: white;
}
/* Content Panels */
.content-panel {
    display: none;
}
.content-panel.active {
    display: block;
}
.card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
}
.card-description {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
#info-panel .card {
  background-color: #e0dfde96;
  padding: 0.5rem;
  overflow-x: auto;
  max-width: 100%;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.file-form-field,
.form-textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.file-form-field:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.file-upload {
    border: 2px dashed #e2e8f0;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.2s;
    cursor: pointer;
}
.file-upload:hover {
    border-color: #2563eb;
    background-color: #eff6ff;
}
.file-upload-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #64748b;
}
.file-upload-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.file-upload-hint {
    font-size: 0.75rem;
    color: #94a3b8;
}
.file-input {
    display: none;
}
.button {
    padding: 0.75rem 1.5rem;
    background-color: #134A98;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}
.button:hover {
    background-color: #FBBB22;
    color: black;
}
#company_name {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background-color: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
 
}

/*------------------*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: transparent;
}
.logo span {
  font-size: 1.8em;
  padding-bottom: 10px;
  color: white;
}
.logo:hover span {
  color: white;
}
.navbar-links {
  display: flex;
  align-items: center;
}
.navbar-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1.3em;
  transition: color 0.3s;
}
.navbar-links a:hover {
  color: #FBBB22;
}
.tooltip {
  display: inline-block;
  position: relative;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 125%; 
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*Modal*/
.overlay, .overlay_1, .overlay_folder, .overlay_error {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
  align-items: center;
  justify-content: center;
}
.hidden {
  display: none;
}
.modal_error, .modal_folder {
  background-color: white;
  border-radius: 0.75rem;        
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 28rem;
  top: 35%;
  left: 40%;
  width: 90%;
  padding: 2rem;
  position: relative;
  z-index: 100;
}
.modal_1 .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal_folder .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal_error .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.material-symbols-outlined {
  z-index: 1;
  position: fixed;
  margin: 0;
  padding: 0;
  color: #e0dfde;
  font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' 0,
  'opsz' 48
}
.wrapper .sidebar{
  /*filter: blur(8px);*/
  background: #134A98;
  position: fixed;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
  text-align: center;
  display: block;
}
.about_info {
  position: absolute;
  bottom: 5%;
  width: 100%;
}
#ab_inf {
  padding-left: 10%;
  text-align: left;
}
ul, li, span{
  display: block;
  background-color: transparent;
  list-style: none;
  color: white;
  text-decoration: none;
  font-size: large;
  padding-left: 0;
  padding-top: 10px;
}
.close_msg_btn {
  display: block;
  background-color: transparent;
  list-style: none;
  color: white;
  text-decoration: none;
  font-size: large;
  padding-left: 0;
  padding-top: 10px;
  padding-left: 40%;
}
.close_msg_btn:hover{
  color: #FBBB22;
  transition: ease-in-out 0.6s;
}

.settings_file_link{
  display: block;
  background-color: transparent;
  list-style: none;
  color: white;
  text-decoration: none;
  font-size: large;
  padding-left: 0;
  padding-top: 10px;
}
.settings_file_link:hover{
  color: #FBBB22;
  transition: ease-in-out 0.6s;
}
/* Hover Dropdown Styles */
.dropdown-cell {
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
}
#info_content.dropdown-cell:hover, #info_content_b.dropdown-cell:hover {
  color: #FBBB22;
}
.dropdown-menu {
    display: none;
    position: absolute;
    /* top: 100%; */
    top: 0;
    left: 100%;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 175px;
    z-index: 1000;
    margin-top: 0.25rem;
}
.dropdown-cell:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #134A98;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s;
}
.dropdown-menu a:hover {
    background-color: #e0edfa;
}
.dropdown-menu a:first-child {
    border-radius: 0.375rem 0.375rem 0 0;
}
.dropdown-menu a:last-child {
    border-radius: 0 0 0.375rem 0.375rem;
}
/* Center the logout link in the middle of the screen */
.logout_link {
    display: block;
    background-color: #e0dfde;
    width: fit-content;
    color: #134A98;
    position: absolute; /* Change to absolute positioning */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for element's own dimensions */
    text-align: center;
    font-size: 2em;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.logout_link:hover {
    background-color: #FBBB22;
    color: #134A98;
    transition: 0.3s;
}
.logout_message {
    position: relative; 
    text-align: center;
    font-weight: lighter;
    color: #e0dfde;
    padding-top: 25%;
    font-size: 48px;
}
span:hover{
  color: #FBBB22;
  transition: ease-in-out 0.6s;
}
#file-header {
  color: #e0dfde;
  text-align: center;
}
#file-header {
  font-weight: lighter;
}

#content-header {
  color: #FBBB22;
  font-weight: lighter;
  text-align: center;
}
#content-header:hover {
  color: #e0dfde;
  transition: ease-in-out 0.6s;
}
#info_content, #info_content_1, #info_content_b {
  color: #e0dfde;
  font-weight: lighter;
  text-align: center;
  padding: 10px;
  /* border: none; */
}

#info_content_1:hover{
  color: rgb(144, 144, 144);
}
.info_content, .modal-body, .btn-secondary {
  color: black;
  text-align: center;
  padding-left: 15%;
  padding-right: 15%;
}
.btn-secondary {
  position: relative;
  top: 0;
  margin-top: 15%;
  background-color: #134A98; /* Blue background */
  color: white; /* White text */
  border: none; /* Remove border */
  padding: 10px 20px; /* Add padding */
  border-radius: 5px; /* Rounded corners */
  text-align: center; /* Center text */
  display: inline-block; /* Inline-block for centering */
  margin: 0 auto; /* Center horizontally */
  cursor: pointer; /* Pointer cursor */
}
.btn-secondary:hover {
  transition: ease-in-out 0.8s;
  background-color: #FBBB22; /* Yellow background on hover */
  color: black; /* Black text on hover */
}

#file-error-msg-holder {
  width: 100%;
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
}
#file-error-msg {
  color: #b40505;
  opacity: 0;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding-top: 3%;
  color: #e0dfde;
}

 /*Collapsible*/
.collapsible {
  color: white;
  cursor: pointer;
  /* padding: 18px; */
  text-align: center;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  margin-left: auto;
}
table {
  background-color: #134A98;
  border: transparent;
  border-spacing: 0;
  width: 100%;
  min-width: 1200px;
  align-self: center;
}
table td,
table th {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  /* vertical-align: top; */
}
.col-file-name,
.cell-file-name {
  width: 24%;
  min-width: 240px;
  max-width: 320px;
}
.col-software,
.cell-software {
  width: 10%;
  min-width: 110px;
  max-width: 140px;
}
.col-log-id,
.cell-log-id {
  width: 10%;
  min-width: 120px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.col-settings {
  width: 8%;
  min-width: 110px;
}
#info_content_b {
  background-color: #1A5D9E;
  border: #1A5D9E solid;

}
.col_names {
  border: none;
  text-align: center;
  border-bottom: #e0dfde solid 1px;
  color: #FBBB22;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.expand-indicator-col {
  width: 6.5rem;
  min-width: 4.5rem;
}
.summary-row {
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.summary-row:focus {
  outline: none;
}
.expand-indicator-cell {
  color: #FBBB22;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
}
.expand-indicator {
  display: inline-block;
  transition: transform 0.2s ease;
}
.summary-row.is-expanded .expand-indicator {
  transform: rotate(180deg);
}
.detail-row {
  background-color: #0d33576e;
}
.detail-cell {
  padding: 0;
  border-top: 1px solid rgba(224, 223, 222, 0.25);
}
.detail-panel {
  padding: 1.25rem 1.5rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem 1.2rem;
}
.detail-item {
  text-align: left;
}
.detail-label {
  display: block;
  color: #FBBB22;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.detail-value {
  display: block;
  color: #e0dfde;
  line-height: 1.45;
  word-break: break-word;
}
.detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(224, 223, 222, 0.2);
  justify-content: flex-end;
}
.detail-action-link {
  color: #FBBB22;
  text-decoration: none;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(251, 187, 34, 0.45);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.detail-action-link:hover {
  background-color: #FBBB22;
  color: #134A98;
  border-color: #FBBB22;
}
.content-panel {
  display: none;
  overflow: hidden;
  border-radius: 5px;
}

.content-panel.active {
  display: block;
}

.collapsible:hover, #content-header:hover {
  color: #e0dfde;
  transition: ease-in-out 0.6s;
}
.settings_file_link {
  text-align: center;
  color: #FBBB22;
  text-decoration: none;
  white-space: nowrap;
}
.small_screens {
  display: none;
}

@media (max-width: 768px) {
  #info_content_b, #info_content {
    font-size: 1rem;
  }
  table {
    min-width: 1000px;
  }
  .card {
    width: 90%;
    overflow-x: auto;
    margin: 0 auto;
  }

  .header {
      padding: 1rem;
  }
  .nav {
      flex-direction: column;
      gap: 1rem;
  }
  .main {
      padding: 1rem;
  }
  .tabs {
      flex-direction: column;
  }
  .tab-button {
      width: 100%;
  }
}

@media (max-width: 426px) {
  .small_screen_warning {
    display: inline-block;
  }
  .card {
    width: 90%;
    overflow-x: auto;
    margin: 0 auto;
  }
  table {
    min-width: 1000px;
  }
  .navbar {
    font-size: 0.5rem;
  }
  .logo span {
    font-size: 0.875rem;
    padding-bottom: 10px;
    color: white;
  }
  .navbar-links {
    font-size: 0.5rem;
    display: flex;
    align-items: center;
  }
  .header {
      padding: 1rem;
  }
  .nav {
      flex-direction: column;
      gap: 1rem;
  }
  .main {
      padding: 1rem;
  }
  .tabs {
      flex-direction: column;
  }
  .tab-button {
      width: 100%;
  }
}

@media (max-width: 321px) {
  .small_screen_warning {
    display: inline-block;
  }
  .card {
    width: 90%;
    overflow-x: auto;
    margin: 0 auto;
  }
  table {
    min-width: 1000px;
  }
  .navbar {
    font-size: 0.45rem;
    margin-top: 0.5em;
  }
  .logo span {
    display: none;
  }
  .navbar-links {
    font-size: 0.45rem;
    display: flex;
    align-items: center;
  }
  .header {
      padding: 1rem;
  }
  .nav {
      flex-direction: column;
      gap: 1rem;
  }
  .main {
      padding: 1rem;
  }
  .tabs {
      flex-direction: column;
  }
  .tab-button {
      width: 100%;
  }
}
