form {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
  max-width: 600px;
  margin: 50px auto;
  box-sizing: border-box;
}

a{
    cursor: pointer;
}

h1 {
  text-align: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
}


label {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: white;
}


input[type="text"], textarea, #password, #confirm_password{
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #333;
  border: 1px solid #444;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

input[type="text"]:focus, textarea:focus {
  border-color: #0056b3;
  outline: none;
  background-color: #444;
}


button {
  background-color: #0056b3;
  color: white;
  padding: 12px 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #00408a;
}


/* p {
  text-align: center;
  font-size: 1.1rem;
  color: green;
}


ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

ul li {
  color: red;
  font-size: 1rem;
  margin-bottom: 5px;
} */

/* ul li::before {
  content: "⚠️ ";
} */

body {
    font-family: sans-serif;
    background: #111;
    color: white;
    padding: 20px;
  }
  .filter-buttons {
    margin-bottom: 20px;
  }
  .filter-buttons a {
    margin-right: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    background: #444;
    color: white;
    text-decoration: none;
  }
  .filter-buttons a:hover {
    background: #666;
  }
  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  .card {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.2s;
  }
  .card:hover {
    transform: scale(1.03);
  }

  .navbar {
    background-color: #333;
    overflow: hidden;
  }
  
  .navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
  }
  
  .navbar li {
    flex: 1;
  }
  
  .navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .navbar a:hover {
    background-color: #575757;
  }


  header {
    background-color: #222;
    color: white;
    padding: 10px 20px;
    margin-bottom: 2vh;
    margin-top:0;

  }
  
  header h1 {
    margin: 0;
    font-size: 124px;
    padding-bottom: 10px;
    font-size: 2rem;
    text-align: center;
  }
  
  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  

  
  .navbar a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #444;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .navbar a:hover {
    background-color: #666;
  }

  .timeline {
    position: relative;
    max-width: 600px;
    margin: 50px auto;
    padding: 10px 0;
    color:black;
  }
  
  .timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
  }
  

  .timeline-item {
    position: relative;
    margin: 20px 0;
    width: 100%;
  }
  
  .timeline-content {
    padding: 20px;
    background: #f5f5f5;
    position: relative;
    border-radius: 6px;
    width: 500px;
    box-sizing: border-box;
  }
  

  .timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #333;
    border-radius: 50%;
    z-index: 1;
  }
  

  .timeline-item:nth-child(odd) .timeline-content {
    left: calc(50% - 530px);
  }
  

  .timeline-item:nth-child(even) .timeline-content {
    left: 55%;
  }
  

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    top: 0;
  }

  header p{
    text-align:center;
  }

  header p a{
    text-align:center;
    color:white;
    transition: all 1 ease;
  }

  header p a:hover{
    font-weight:bold;
  }


  #register{
    display: block;
    width:100%;
    text-align:center;
    color:white;
  }


  table {
    width: 97%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: #fdfdfd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    color:black;
  }
  
  thead {
    background-color: #333;
    color: #fff;
  }
  
  thead th {
    padding: 15px;
    text-align: left;
    font-size: 1.1em;
  }
  
  tbody tr {
    border-bottom: 1px solid #ddd;
  }
  
  tbody tr:nth-child(even) {
    background-color: #f5f5f5;
  }
  
  tbody td {
    padding: 12px 15px;
  }
  
  tbody tr:hover {
    background-color: #e0e0e0;
  }

  .card {
    position: relative;
    padding-bottom: 40px;
  }

  .delete-btn {
    background-color: red;
    color: white;
    border: none;
    width:15%;
    padding: 5px 10px;
    cursor: pointer;
    position: absolute;
    bottom: -60px;
    right: 10px;
    cursor: pointer;
    text-align:center;
}

.delete-btn:hover{
  background-color: rgb(190, 0, 0);
}

#adminForm{
  position:relative;
  background-color: none;
  padding: none;
  border-radius: none;
  border: 0;
  margin: none;
  box-sizing: none;
}

.card-container a{
    color:white;
    margin-bottom:15px;
}

#searchWrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 10px;
}

#searchBox {
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  gap: 10px;
  height:45px;
}

#toggleSearchBtn {
  border-radius: 50%;
  background-color: #555;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#searchContainer {
  display: flex;
  align-items: center;
  transition: max-width 0.5s ease, opacity 0.4s ease;
  overflow: hidden;
  max-width: 300px;
  overflow: hidden;
}

#searchContainer.hidden {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}

#searchForm {
  display: flex;
  align-items: center;
  width: 100%;

  border:none;
  height:40px;
  padding:none;
}

#searchInput {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.507);
  border-radius: 5px 0 0 5px;
  outline: none;
  width: 150px;

  color:white;
  margin-top:14.5px;
}

#searchForm button[type="submit"] {
  padding: 7px 14px;
  font-size: 14px;
  border: none;
  border-radius: 0 5px 5px 0;
  background: #2c662e;
  color: white;
  cursor: pointer;
}

#searchForm button[type="submit"]:hover{
  background: #56c55a;
}

