/* Simple reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body and container styling */
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #9a86fe, #4800f0);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Header styling */
  header {
    background: linear-gradient(to left, #ffe96a, #fff700);

    color: #000;
    padding: 1rem;
    text-align: center;
  }
  
  /* Main content area */
  main {
    flex: 1;
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Input section */
  .input-section {
    background: linear-gradient(to right, #86edff, #00baf2);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: #000;
    font-weight: 600;
    text-shadow: #000;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
  }
  
  .input-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .input-group input {
    padding: 0.5rem;
    border: 1px solid #444;
    border-radius: 4px;
  }
  
  /* Button group styling */
  .btn-group {
    display: flex;
    gap: 1rem;
  }
  
  .btn-group button {
    padding: 0.8rem 1.2rem;
    background-color: #2a0000;
    color: #fff;
    border: none;
    cursor:pointer;
    border-radius: 4px;
  }
  
  .btn-group button:hover {
    background-color: #ff0b0b;
    color: #000;
    font-weight: bold;
    transform: scale(1);
    transition-delay: 50ms;
    transition-duration: 50ms ;
  }
  
  /* Results section */
  .results-section {
    background: linear-gradient(to right, #86edff, #00baf2);
    
    padding: 1rem 2rem;
    border-radius: 8px;
  }
  
  .results-section h2 {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    text-align: center;
    text-shadow:#000 ;
  }
  
  .results-container {
    overflow-x: auto;
  }
  
  /* Table styling for simulation output */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    text-align: center;
    background-color:rgb(248, 245, 182);
    color: #000;
    font-weight: 600;
  }
  
  th, td {
    padding: 0.5rem;
    border: 1px solid #000;
  }
  
  th {
    background-color: #ffc800;
  }
  
  /* Footer styling */
  footer {
    background: linear-gradient(to left, #ffe96a, #fff700);
    color: #000;
    text-align: center; 
    padding: 1rem;
  }

  .fa-check {
    color: rgb(0, 168, 0);
    font-weight: 900;
    font-size: 1.5em;
  }
  
  .fa-times{
    color:red;
    font-weight: 900;
    font-size: 1.5em;
    
  }