
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
 
nav.top_nav {
    background-color: rgb(25,0,255);
    display: flex;
    justify-content: space-around;
    height: 80px;
    align-items: center;
}

.top_nav a{
    text-decoration: none;
    background-color: rgb(108,108,255);
    color: white;
    padding: 15px;
    text-transform: uppercase;
    height: 50px;
}
.top_nav a:hover {
    text-decoration: underline;
    background-color: blueviolet;
}
.top_nav .current_page {
    background-color: rgb(89,166,255);
}

fieldset.loginForm {
    width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    
}

.loginForm input, .loginForm button {
    padding: 5px;
    margin: 10px;
}

nav a:before, nav a:after {
    content: '';
    position: absolute;
    top: 0px;
    left: -200px;
    width: 60px;
    height: 100%;
    background-color: white;
    filter: blur(40px);
    transform: skew(-30deg);
}

nav a {
    position: relative;
    overflow: hidden;
}

nav a:hover:before,
nav a:focus:before {
    left: calc(100% + 80px);
    transition: 1s;
}

nav a:hover:after,
nav a:focus:after {
    left: calc(100% + 55px);
    transition: 1s 0.5s;

}

.msg {
    top: 50%;
    position: absolute;
    left: 50%;
    border: 1px solid gray;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 500px;
    margin-left: -250px;
    text-align: center;
    color: white;

}  

.success{
    background-color: greenyellow;

}
.msg {
    top: 50%;
    position: absolute;
    left: 50%;
    border: 1px solid gray;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 500px;
    margin-left: -250px;
    text-align: center;
    color: black;
}

.success {
    color: white;
    background-color: green;
    border: rgb(0, 255, 34) thin solid;
}

.error {
    color: black;
    background-color: rgb(255, 213, 122);
    border: red thin solid;
}
.caution {

    color: black;
    background-color: rgb(255, 253, 160);
    border: rgb(255, 217, 0) thin solid;
}

#editForm button {
    padding: 10px;
    background-color: aqua;
    color:black;
    font-size: 15px
    border-radius: 8px;
    margin-top: 25px;
}

#editForm button:hover {
    background-color: blue;
    cursor: pointer;
}

#editForm div{
    display: block;
    margin-top: 15px;
}

#editForm label {
    display: inline;
    
}

#editForm input, #editForm textarea {
    display: inline;
    width: 50%;
    padding: 5px;
    border-radius: 3px;

}
#editForm textarea {
    min-height: 300px;
    resize: vertical;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

.profilePic {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.search{
    padding: 20px;
    display: flex;
    justify-content: center;
}
.bi-search{
    border: 1px solid black;
    padding: 10px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 20px;

}
#search {
    padding: 10px;
    font-size: 20px;
    width: 400px;
    border-radius: 10px 0 0 10px;
}
.container{
    max-width:1400px;
    margin:auto;
}
table {
width: 100%;
    padding: 20px;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-left: auto;
    margin-right: auto;
}
table th {
      text-align: left;
    padding: 10px;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}
table td{
    border-bottom:1px solid #ddd;
    padding:10px;
        font-size: 14px;
        background-color:#f3f3f3;
}
table img {
    max-width: 60px;
    height: auto;
    vertical-align: bottom;
}
.heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:20px;
}
.heading h2{
    text-align:center;
    font-size:30px;
    font-weight:500;
}
.heading a {
    padding: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size:15px;
  
}
.heading #editUser{
    background-color:blueviolet;
    color:#fff;
}
form .form-wrap{

    display: flex;
    gap: 10px;

}
form .form-wrap .input-group{
    width:50%;
}
#addUserForm form {
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    background-color: #6c6cff;
    padding:30px;
}
#editUserForm form {
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    background-color: #a1cdff;
    padding:30px;
}
form input{
  width: 100%;
    padding: 10px 20px;
    margin-bottom: 10px;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
}
form select{
 width: 100%;
    padding: 10px 20px;
    margin-bottom: 10px;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
}
form .form-btn {
    text-align: center;
}
form .form-btn button {
    padding: 7px 22px;
    background-color: #1900ff;
    color: #fff;
    border: 0;
    border-radius: 2px;
}
form a {
    padding: 7px 22px;
    background-color: #6c6cff;
    color: #fff;
    border: 0;
    text-decoration:none;
    border-radius: 2px;
}

form.deleteUser button {
    padding: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 15px;
    cursor: pointer;
}