/* public/style.css */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #464545;
    color: #ffffff;
    
  }
  #bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;


  }
  #wp {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  h1, h2, h3, h4 {
    color: #858585;
  }
  
  section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="password"],
  input[type="number"],
  select {
    width: 80%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
  }
  
  button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #181818;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;

  }
  
  button:hover {
    background-color: #525354;
    color: darkslategrey;
  }
  
  form {
    max-width: 500px;
  }
  
  h3 {
    margin-top: 20px;
  }
  
  #tabMain{
    position: absolute;
    display: flex;
    flex-direction: column;
   
    align-items: center;
    background-color: #474747;
    top:17vh;
    left: 1.5vw;
    width: 97.5vw;
    height: 70vh;
    opacity: 0.9;
    overflow-y: auto;
  }
  
  .tab-content {

    display: block;

    align-items: center;
    background-color: #474747;
    top:17vh;
    left: 1.5vw;
    width: 97.5vw;
    height: 70vh;
    opacity: 0.9;
  }

  /* Tabs Styles */
  .tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
  }
  
  .tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    width: 10vw;
    height: 5vh;
    transition: background-color 0.3s;
    font-size: 2vh;
    opacity: 1;
  }
  
  .tab button:hover {
    background-color: #ddd;
  }
  
  .tab button.active {
    background-color: #6b6b6c;
    color: rgb(181, 0, 0);
  }
  
  
  .tab-content h3 {
    margin-top: 0;
  }
  
  /* Player List Styles */
  #playerList h3 {
    margin-top: 0;
  }
  
  #playerList ul {
    list-style-type: none;
    padding: 0;
  }
  
  #playerList ul li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
  }
  
  #playerList ul li button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #27ae60;
  }
  
  #playerList ul li button:hover {
    background-color: #2ecc71;
  }
  
  /* Roll Log Styles */
  #rollLog {
    max-width: 600px;
  }
  
  .roll-log-list {
    list-style-type: none;
    padding: 0;
  }
  
  .roll-log-list li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
  }
  
  .roll-log-list li:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    body {
      margin: 10px;
    }
  
    form {
      width: 100%;
    }
  
    .tab button {
      padding: 10px;
      font-size: 14px;
    }
  }
  
  /* GM Controls */
  #gmControls {
    background-color: #585858;
  }
  
  #gmControls h2 {
    color: #7a7a7a;
  }
  
  /* Encounter Info */
  #encounterInfo {
    background-color: #fcf3cf;
  }
  
  #encounterInfo h2 {
    color: #b7950b;
  }
  
  /* Character Creation */
  #characterCreation {
    background-color: #e8f8f5;
  }
  
  #characterCreation h2 {
    color: #117864;
  }
  
  /* Characters Section */
  #charactersSection {
    background-color: #fef9e7;
  }
  
  #charactersSection h2 {
    color: #b9770e;
  }
  
  /* Roll Log Section */
  #rollLogSection {
    background-color: #f9ebea;
  }
  
  #rollLogSection h2 {
    color: #c0392b;
  }
  
  /* Notifications */
  #notificationContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .notification {
    background-color: #00451d; /* Green for success */
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
  }
  
  .notification.error {
    background-color: #e74c3c; /* Red for errors */
  }
  
  /* Logout Button */
  #logoutBtn {
    background-color: #000000; /* Orange */
  }
  
  #logoutBtn:hover {
    background-color: #1d037b;
    color: #ffffff;
  }
  

  .modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  */
  
  /* Miscellaneous */
  .alert {
    color: red;
    font-weight: bold;
  }
  /* public/style.css */

/* Tabs Navigation */
.tabs {
 
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    background-color: #464545;
    top: 11vh;
    left: 1.5vw;
    opacity: 0.9;
    width: 97.5vw;
  }
  
  .tab-button {
    background-color: #343333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    font-size: 16px;
  }
  
  .tab-button:hover {
    background-color: #f0f0f0;
  }
  
  .tab-button.active {
    background-color: #117864;
    border-bottom: 3px solid #ffffff;
    border-radius: 0px;
    font-weight: bold;
  }
  
  /* Tabs Content */
  .tab-content {
    display: flex;
    flex-direction: column;
    background-color: #404040;
    color: #ffffff;
  }
  
  .tab-pane {
    display: none;
  }
  
  .tab-pane.active {
    display: block;
  }
  
  /* Modal Styles */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  .modal-overlay.active {
    display: flex;
  }
  
  .modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    position: relative;
  }
  
  .modal h5 {
    margin-bottom: 15px;
  }
  
  .modal .close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
  
  .open-modal-btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .open-modal-btn:hover {
    background-color: #0056b3;
  }

  input[type="text"], input[type="password"], input[type="number"], select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    background-color: #989696;
    color: black;
  }

  .soul-item {
    margin: 0 0 1px 0;
    height: 10%;
    width: 12%;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    background-color: #989696;
    color: black;
    border: 4px solid #000000;
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    .tabs {
      flex-direction: column;
      justify-content: center;
    }
    
    .tab-button {
      width: 100%;
      text-align: left;
      padding: 10px;
      border-bottom: 1px solid #ccc;
    }
    
    .tab-button.active {
      border-bottom: 3px solid #007BFF;
    }
  }
  