body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.container{
    width: 100%;
    max-width: 100%;
    height: fit-content;
}
.login-container {
    width: 50%;
    height: 60vh;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.addnew-container{
    width: 80%;
    font-size: 100%;
    margin: 5% auto;
    padding: 2%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
 /* Close Button Style */
 .close-btn {
    /* position: absolute; */
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff0000;
}
.title{
    display: flex;
    justify-content: space-between;
}
h2 {
    text-align: center;
}

input[type="text"],
input[type="password"],
select {
    width: 90%;
    padding: 1%;
    margin: 1% 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}
label,
legend{
    font-size: 80%;

}
button {
    width: 100%;
    padding: 1%;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}
/* body {
    font-family: Arial, sans-serif;
} */
/* General styles */
.navbar {
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    height: 8vh;
    z-index: 1000;
    top: 0;
    left: 0;
  }
  
  .nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links li {
    padding: 10px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  
  .nav-links a:hover {
    background-color: #575757;
    padding: 5px;
  }
  
  /* Hide the hamburger icon on larger screens */
  .hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
  }
.hamburger{
    color: red;
    font-size: 100%;
    position: fixed;
    top: 3%;
    left: 4%;
    display: none;
}

.maincontainer{
    max-width: 100%;
    overflow: hidden;
    display: flex;
    margin-top: 8vh;
    padding: 1%;
}
#taskSection{
    width: 80%;
    max-width: 80%;
    overflow: hidden;
}
#eventSection{
    margin-top: 8vh;
    width: 20%;
    max-width: 20%;
    overflow: hidden;
}
table {
    font-size: 100%;
    overflow: hidden;
    border: 2px solid rgb(0, 0, 0);
}

th, td {
    width: 5%;
    border-left: 1px solid black;
    border-top: 1px solid black;
    text-align: center;
}
textarea{
    width: 80%;
    height: 80%;
}
th {
    background-color: #f2f2f2;
}

/* Add Button */
button[type="submit"] {
    background-color: #28a745;
    color: white;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* Edit Button */
button.edit-btn {
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease;
}

button.edit-btn:hover {
    background-color: #0056b3;
}

/* Delete Button */
button.delete-btn {
    background-color: #dc3545;
    color: white;
    transition: background-color 0.3s ease;
}

button.delete-btn:hover {
    background-color: #c82333;
}

/* Layout for buttons inside table */
table td button {
    margin-right: 10px;
    font-size: 14px;
    padding: 8px 12px;
}
 /* Hide the default radio button */
 .special_radio{
    display: none;
  }

.addButton{
    float: right;
    background-color: red;
    height: 8vh;
    width: 25%;
    font-size: 100%;
    position: fixed;
    font-weight: bold;
    top: 8vh;
    right: 0%;
    z-index: 1000;
}
#assignedDate{
    height: 8vh;
    font-size: 200%;
}
  /* Style the label as a colorful circle */
  .radio-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ddd;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  select option:checked{
    background-color: red;
  }
  /* Different colors for each radio button */
  .radio-circle[data-color="red"] { background-color: #f44336; }
  .radio-circle[data-color="green"] { background-color: #4caf50; }
  .radio-circle[data-color="yellow"] { background-color: rgb(0, 0, 0); }

  /* Add inner dot when selected */
  input[type="radio"]:checked + .radio-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  /* Hover effect */
  .radio-circle:hover {
    filter: brightness(1.2);
  }
/* Notification/Message Style */
.alert {
    padding: 10px;
    margin-top: 20px;
    background-color: #e9ecef;
    color: #383d41;
    border-left: 5px solid #6c757d;
    border-radius: 5px;
}

.alert.success {
    border-left-color: #28a745;
    color: #155724;
}

.alert.error {
    border-left-color: #dc3545;
    color: #721c24;
}

/* Main container for task force */
.task-force-container {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.taskevent{
    display: flex;
}
.task-table{
    width: 80%;
    max-width: 80%;
    overflow: hidden;
}
.event{
    width: 20%;
    max-width: 20%;
    overflow: hidden;
    font-size: 100%;
}
.logos{
    /* border: 1px solid red; */
    width: 20%;
}
/* Header styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.logo img {
    height: 60px;
}

.task-force{
    /* font-size: 30px; */
    /* color: #333; */
    height: 16vh;
    width: 80%;
    float: right;
    /* margin: 10%; */
    text-align: center;
    /* border: 1px solid red; */
    background-image: url("../images/taskforce.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.date h2 {
    font-size: 18px;
    color: #333;
}

/* Legend styling for task status icons */
.legend {
    /* display: flex; */
    /* justify-content: flex-start; */
    margin-top: 20px;
}
.statusupdate{
  .radio-circle{
    border-radius:0% !important;
  }
}
.status {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.status-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Task table styling */

#authpopup{
    height: 95vh;
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: white;
}
#addnewpopup{
    width: 100%;
    height: 100vh;
    position:fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: white;
}
#loginalert{
    color: red;
}

.dot {
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
  }
/* Mobile responsiveness */
@media (max-width: 768px) {


    .date h2 {
        margin-top: 10px;
    }
  /* Hide the navbar links by default */
  .navbar{
    z-index: 1000;
    background: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    transition: left 0.3s ease;
  }

  /* Show the hamburger icon */
  .hamburger {
    display: block;
    color: black;
    font-size: 200%;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  /* When nav is open, move the sidebar in */
  .nav-links.open {
    display: block;
    left: 0;
  }

  /* Adjust nav links styles in the sidebar */
  .nav-links li {
    text-align: center;
    padding: 20px;
  }

  .nav-links a {
    font-size: 22px;
  }

    .task-force h1 {
        font-size: 24px;
    }

    .legend {
        flex-direction: column;
        align-items: flex-start;
    }

    .status {
        margin-bottom: 10px;
    }
    .addnew-container{
        font-size: 100%;
        width: 80%;
        margin: 7vh auto;
        padding: 20px;
        background: #fff;
        border: 1px solid #ff0000;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    button {
        margin-bottom: 1vh;
    }

    /* table, thead, tbody, th, td, tr {
        display: block;
      } */
      
      /* Hide the header row in mobile */
      /* thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
      } */
      
    
      th {
        font-size: 50%;
      }
      td{
        font-size: 50%;
      }
    
      
      /* Adjust button size for mobile */
      button {
        font-size: 12px;
        padding: 6px 10px;
      }
    
      /* Fieldset and Input for mobile */
      fieldset {
        font-size: 50%;
      }
    
      textarea{
        font-size: 100%;
      }
      input[type="date"] {
        font-size: 50%;
      }
}
/* Mobile responsiveness */
@media (max-width: 480px) {
    .header {
        flex-direction: column;
        align-items: center;
    }
    #eventSection{
        display: none;
    }
    #taskSection{
        max-width: 100%;
        width: 100%;
    }
      button {
        font-size: 10px;
        padding: 5px 8px;
        margin-bottom: 1vh;
      }

}