@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');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    padding: 100px 40px;
}

nav.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    /* background-color: red; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 99;
    background-image: linear-gradient(180deg, #162938, transparent);
}

.top_nav a.link {
    position: relative;
    font-size: 1.1em;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}

.top_nav .popup {
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid #FFFFFF;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #FFFFFF;
    font-weight: 500;
    margin-left: 40px;
    transition: 0.5s;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
}

.top_nav .popup:hover {
    background-color: #FFFFFF;
    color: #162938;
}

.top_nav a.link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 5px;
    left: 0;
    bottom: -6px;
    transform: scaleX(0);
    transition: transform 0.5s;
    transform-origin: right;
}

.top_nav a.link:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

/* .top_nav a:hover {
    text-decoration: underline;
    background-color: blueviolet;
} */

.top_nav a.current_page.link {
    /* background-color: rgb(89, 166, 255); */
    font-weight: 900;
    /* color: darkblue; */
    text-shadow: 0 0 5px #03e9f4,
        0 0 25px #03e9f4,
        0 0 50px #03e9f4,
        0 0 100px #03e9f4;
    ;
}

fieldset.loginForm {
    width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

.loginForm input,
.loginForm button {
    padding: 5px;
    margin: 10px;
}

.wrapper {
    /* position: relative; */
    position: absolute;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* transform: scale(0); */
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -220px;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.form-box h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.remember-forgot {
    font-size: 0.9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
}

.remember-forgot a {
    color: #162938;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background-color: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #FFFFFF;
    font-weight: 500;
}

.wrapper .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background-color: #162938;
    font-size: 2em;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}

.msg {
    top: 50%;
    position: absolute;
    left: 50%;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 500px;
    margin-left: -250px;
    text-align: center;
    color: rgb(0, 0, 0);
}

.success {
    background-color: green;
    border: thin rgb(10, 250, 18);
}

.error {
    background-color: orange;
    border: thin red;
}

.caution {
    background-color: rgb(239, 255, 151);
    border: thin rgb(255, 174, 0);
}

#editForm button {
    padding: 10px;
    height: 45px;
    background-color: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #FFFFFF;
    font-weight: 500;
    margin-top: 15px;

}

#editForm button:hover {
    background-color: #465968;
    cursor: pointer;

}

#editForm div {
    display: block;
    margin-top: 15px;
}

#editForm label {
    display: inline;
    margin-right: 35px;
}

#editForm input,
#editForm textarea {
    display: inline;
    width: 50%;
    padding: 5px;
    border-radius: 5px;
}

#editForm textarea {
    min-height: 250px;
    resize: vertical;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.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;
}

table {
    width: 800px;
}

th {
    text-align: center;
}

td {
    text-align: left;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

table,
th,
td {
    border: 1px solid #000;
    border-collapse: collapse;
}

tr:nth-child(odd) {
    background-color: #f7f7f7;
}

button.Edit {
    background-color: rgb(18, 178, 18);
    padding: 10px;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
}

button.Edit:hover {
    background-color: rgb(46, 252, 19);
    cursor: pointer;

}

#editForm button.Delete {
    background-color: rgb(178, 18, 18);
    color: rgb(255, 255, 255);
    padding: 10px;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
}

#editForm button.Delete:hover {
    background-color: rgb(255, 45, 45);
    cursor: pointer;

}

.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;

}