select {
    padding: 5px;
    background-color: black;
    color: white;
    border: 1px solid white;
    font-family: monospace;
  }

  /* Style for the options inside the select */
  option {
    background-color: black;
    color: white;
  }

  /* ========== FAB MENU ========== */
  .fab-menu {
    position: fixed;
    top: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 1500;
  }

  .fab-menu .fab-toggle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    padding: 0 !important;
    border-radius: 50%;
    background: #050505;
    border: 2px solid #8EC07C;
    color: #8EC07C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .fab-menu .fab-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .fab-menu .fab-toggle.active {
    background: #8EC07C;
    color: #050505;
    transform: rotate(90deg);
  }

  .fab-menu .fab-toggle:hover:not(.active) {
    background: #0d0d0d;
    transform: translateY(-1px);
  }

  .fab-menu .fab-toggle:active {
    transform: scale(0.95);
  }

  .fab-drawer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid #8EC07C;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
    visibility: visible;
  }

  .fab-drawer[hidden] {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.25s;
  }

  .fab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #8EC07C;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  }

  .fab-link i {
    font-size: 18px;
  }

  .fab-link:hover {
    background: rgba(142, 192, 124, 0.12);
    border-color: rgba(142, 192, 124, 0.3);
    transform: translateY(-1px);
  }

  .fab-link:active {
    transform: scale(0.98);
  }

  /* Floating Year Selector */
  #floatingYearSelector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #8EC07C;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(142, 192, 124, 0.3);
    backdrop-filter: blur(5px);
    animation: slideIn 0.3s ease-out;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .year-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .year-popup label {
    color: #8EC07C;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
  }

  /* Year selector input styling */
  #floatingYearSelector input[type="number"] {
    padding: 8px 12px;
    background-color: #111;
    color: #8EC07C;
    border: 2px solid #333;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    width: 80px;
    text-align: center;
    border-radius: 4px;
    margin: 0;
  }

  #floatingYearSelector input[type="number"]:focus {
    outline: none;
    border-color: #8EC07C;
    background-color: #000;
    box-shadow: 0 0 8px rgba(142, 192, 124, 0.5);
  }

  #floatingYearSelector input[type="number"]:hover {
    border-color: #555;
  }

  /* Remove spinner arrows from floating input */
  #floatingYearSelector input[type="number"]::-webkit-outer-spin-button,
  #floatingYearSelector input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  #floatingYearSelector input[type="number"] {
    -moz-appearance: textfield;
  }



/* styles.css */
body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #050505; /* Dark background similar to a console */
    font-size: 16px; /* Default font size */
    color: #8EC07C; /* Light green text, common in console displays */
    font-family: 'Courier New', Courier, monospace; /* Monospaced font for that classic console look */
}

header {
    background-color: #333; /* Darker background for the header */
    color: #fff; /* White text for contrast */
    text-align: center;
    padding: 1px;
    height: 20vh;
}
  .centered-button-container {
        display: flex;
        justify-content: center;
    }

    .centered-button {
        display: block;
    }
    
.centered-particle-container {
    height: 70vh;
}
/* Simple Console-Style Button */
/* Console-Style Button with Fixed Width (10% of Screen Width) */
button {
  padding: 10px 0; /* Adjust padding as needed */
  font-size: 16px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace; /* Monospaced font for console look */
  background-color: #050505; /* Dark background similar to a console */
  color: white; /* Light green text, common in console displays */
  border: 1px solid #333; /* Slight border to mimic console appearance */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  width: 20%; /* Set the width to 10% of the screen width */
  min-width: 100px; /* Specify a minimum width if needed */
}

button:hover {
  background-color: #333; /* Slightly darker background on hover */
  color: #fff; /* White text on hover */
}


/* CSS to hide container when printing */
@media print {
    .no-print {
        display: none;
    }
}

#particle-container {
  
    height: 50vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black; /* Very dark background for the particle container */
    border: 1px solid #333; /* Slight border to mimic console window edge */
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1px;
    margin-top: auto;
    height: 10vh;
}
.carousel {
            display: flex;
            overflow: hidden;
            max-width: 300px; /* Adjust the maximum width as needed */
        }

        .carousel img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            margin-right: 10px; /* Add some spacing between images */
        }

table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: justify;
  color: #8EC07C; /* Light green text for table too */
  border: 1px solid #555; /* Slight border for table elements */
}

thead th,
tbody td {
  border: 2px dotted #555; /* Dotted border style */
  padding: 5px; /* Added padding for readability */
  text-align: center;
  background-color: #050505; /* Background similar to body for consistency */
}

th {
  background-color: #333; /* Slightly different background for header cells */
}

tbody tr:nth-child(even) {
  background-color: #0D0D0D; /* Alternating row colors for better readability */
}

tbody tr:hover {
  background-color: #333; /* Hover effect for rows */
}

/* Responsive adjustments for mobile devices */
@media only screen and (max-width: 600px) {
  body, html {
    font-size: 4vw;
  }
button {
  padding: 10px 0; /* Adjust padding as needed */
  font-size: 16px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace; /* Monospaced font for console look */
  background-color: #050505; /* Dark background similar to a console */
  color: white; /* Light green text, common in console displays */
  border: 1px solid #333; /* Slight border to mimic console appearance */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  width: 50%; /* Set the width to 10% of the screen width */
  min-width: 100px; /* Specify a minimum width if needed */
}

button:hover {
  background-color: #333; /* Slightly darker background on hover */
  color: #fff; /* White text on hover */
}

  /* Mobile floating year selector adjustments */
  @media only screen and (max-width: 600px) {
    #floatingYearSelector {
      top: 10px;
      right: 10px;
      padding: 10px;
    }

    #floatingYearSelector input[type="number"] {
      width: 70px;
      font-size: 14px;
      padding: 6px 8px;
    }

    .year-popup label {
      font-size: 12px;
    }
  }

  #particle-container {
    width: 90vw;
    height: 50vh;
  }

  header, footer {
    padding: 5px;
  }

  table {
    width: 100%;
  }
}

/* print.css */
@media print {
  @page {
    size: letter;
    margin: 10;
  }

  body {
    margin: 0;
  }

  header, footer, #particle-container {
    background-color: #fff;
    color: #000;
  }

  #particle-container {
    width: 100%;
    height: auto;
  }

  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
  }

  #generateAndPrintButton {
    display: none;
  }

  /* Hide floating year selector when printing */
  #floatingYearSelector {
    display: none;
  }
}