/* AI Disclosure
This CSS file was created with the help of AI
Chat GPT o4 mini was prompted with an image of the unstyled website
on 6/2/2025 then asked: 
"how can I make this website more aesthetic and responsive." 
It was also provided with the empty CSS handles. then itteratively
prompted with images and CSS which was then edited by hand. */

body {
    font-family: sans-serif;
    text-align: center;
    background-color: #cce0ff;
}
nav {
    margin-bottom: 20px;
}
nav a {
    margin: 0 10px;
    font-weight: bold;
    color: #0077cc;
}


 input {
    padding: 0.5vw;
    box-sizing: border-box;
    border: 1px solid #444;
    background: #e6f7ff;
    border-radius: 8px;
    margin: 0;
  }

select {
    padding: 0.5vw;
    box-sizing: border-box;
    border: 1px solid #444;
    margin: 0;
    background: #e6f7ff;
    color: inherit;
    border-radius: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

#tableinput{
    display: table-cell;
    width:95%;
}

#submitinput{
    display:table-cell;
    width:95%
}
table input {
    font-size: 1vw;
    padding: 0.5vw;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #444;
    margin: 0;
  }

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;  
    gap: 0.5vw;  
    border-radius: 8px;
  }
  

  .action-buttons .icon-button {
    display: inline-block;  
    font-size: 1vw; 
    padding: 0.5vw, 0.5vw;  
    box-sizing: border-box;
    border: 1px solid #444;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  
  .action-buttons .icon-button.edit-btn,
  .action-buttons .icon-button.delete-btn {
    margin: 0;
  }

  .site-header {
    display: inline-block;
    width: fit-content;
    max-width: 95vw;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border: 2px solid #005499;
    border-radius: 8px; 
    background-color: #cce0ff;
    box-sizing: border-box; 
    overflow-x: auto; 
  }

  .foreground {
    display: inline-block;
    max-width: 95vw;     
    margin: 1rem auto;     
    padding: 1.5rem;       
    background-color: #e6f7ff;
    border: 1px solid #cccccc; 
    border-radius: 12px; 
    box-sizing: border-box;         
  }
  .table-container {
    display: inline-block; 
    max-width: 95vw;     
    margin: 1rem auto;     
    padding: 1.5rem;       
    background-color: #e6f7ff;
    border: 1px solid #cccccc; 
    border-radius: 12px; 
    box-sizing: border-box;   
    overflow-x: auto;
    text-align: center;      
  }
  .table-container table {
    margin: 0 auto;
    max-width: 100%;
    border-collapse: collapse;
  }
  
  

  .site-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #003366;
  }
  

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
    padding: 0;
  }
  
  .site-nav a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #005499;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease;
  }
  
  .site-nav a:hover {
    background-color: #003f7f;
  }
  .site-nav a:focus,
  .site-nav a:active {
    outline: 2px solid #003366;
    outline-offset: 2px;
  }
  

  .page-title {
    margin: 0;
    padding-top: 0.5rem;
    font-size: 1.5rem;
    color: #003366;
    border-top: 1px solid #005499;
    padding-top: 1rem;
  }

  .reset-button {
    display: inline-block;
    text-decoration: none;
    color: white;         
    background-color: #cc0000;  
    padding: 0.5rem 1rem;        
    border: none;         
    border-radius: 20px;    
    font-weight: 600;  
    font-size: 1rem;  
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .reset-button:hover {
    background-color: #990000;
  }
  .reset-button:focus,
  .reset-button:active {
    outline: 2px solid #660000;
    outline-offset: 2px;
  }
  

  @media (max-width: 500px) {
    .page-title {
      font-size: 1.25rem;
      padding-top: 0.75rem;
    }
  }
  
  @media (max-width: 1700px) {
    .icon-button {
      font-size: clamp(1vw, 2vw, 18px);
      padding: 1vw 1vw;
    }
  }