@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");

:root {
    --primary-color: #162938;
    --secondary-color: #FFFFFF;
    --accent-color: #506af8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

legend {
    margin-left: 15px;
}

body {
    margin: 0;
    padding-top: 100px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('../images/pikb28.jpg') no-repeat;
    background-size: cover;
}
h1 {
    margin-top: 40px;
}

p {
    margin-top: 20px;
}

nav.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 99;
    background-image: linear-gradient(180deg, var(--primary-color), transparent);
}

.top_nav a.link {
    position: relative;
    font-size: 1.1em;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}

.top_nav .popup {
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--secondary-color);
    font-weight: 500;
    margin-left: 40px;
    transition: 0.5s;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
}

.top_nav .popup:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.top_nav a.link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    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.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: 10px;
    margin: 10px;
}

.wrapper {
    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;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -220px;
}

.wrapper1 {
    position: absolute;
    width: 420px;
    height: 596px;
    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;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -320px;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.wrapper1 .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-box2 {
    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;
}

.form-control {
    border: 1px;
    width: 100%;
    /* height: 150px; */
    background-color: transparent;
    border: none;
    outline-width: 1px;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
}

.input-box2 .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;
}

.form-group textarea:focus~label,
.form-group textarea: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;
    margin-top: 15px;
    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;
}

.wrapper1 .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;
}

/* nav a:before, nav a:after {
    content: '';
    position: absolute;
    top: 0px;
    left: -200px;
    width: 60px;
    height: 100%;
    background-color: white;
    filter: blur(40px);
    transform: skewX(-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%;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 500px;
    margin-left: -250px;
    text-align: center;

}

.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: #506af8;
    color: white;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 25px;
}

#editForm button:hover {
    background-color: hsl(231, 94%, 51%);
    cursor: pointer;
}

#editForm div {
    display: block;
    margin-top: 15px;
    margin-left: 15px;
}

#editFrom label {
    display: inline;
}

#editForm input, #editForm textarea {
    display: inline;
    width: 55%;
    padding: 5px;
    border-radius: 3px;
}

#editForm textarea {
    min-height: 300px;
    resize: vertical;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    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: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
}

/* Add margin to move the user content down otherwise it will cross over with the nav bar*/
#user_content {
    margin-top: 10px; 
}

/* Add margin to the Add New User button to be able to click on*/
#addUserButton {
    margin-top: 20px; 
}

#addUserButton {
    margin-top: 20px; 
}

#userTable {
    margin-top: 20px;
    margin-bottom: auto;
}

#addUserForm {
    max-width: 400px; 
    margin: 0 auto; 
}

.form-row {
    margin-bottom: 15px; 
}

label {
    display: block; 
    margin-bottom: 5px; 
}

input {
    width: 100%; 
    padding: 8px; 
}

button {
    max-width: 400px;;
    background-color: #4caf50;
    color: white;
    font-weight:500;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.edit-mode input {
    width: 100%;
    box-sizing: border-box;
}

/* contact us */
#fcf-form {
    display:block;
    max-width: 400px; /* Adjust the width as needed */
    margin: 0 auto; /* Center the form on the page */
}

.fcf-body {
    max-width: 400px; 
    margin: auto;
    margin-top: 20px;
    font-family: -apple-system, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    padding-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-credit {
    padding-top: 10px;
    font-size: 0.9rem;
    color: #545b62;
}

.fcf-credit a {
    color: #545b62;
    text-decoration: underline;
}

.fcf-credit a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.fcf-btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-block {
    display: block;
    width: 100%;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}


/* footer */

footer {
    background: #074f7c;
    /* margin-top: auto; */
    margin-bottom: 0px;
  }
  footer .footer-center {
    padding: 5px 0;
    background-color: #f5f5f5;
    color: #323232;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
  }
  footer .footer-center a {
    color: #000;
    font-size: 18px;
    margin: 5px 10px;
  }
  footer .footer-center a:hover {
    transition: 0.3s;
    color: #889E50;
  }
  footer .footer-links {
    height: auto;
    min-height: 20px;
    margin: 20px;
    font-weight: normal;
    font-size: 14px;
    color: #fff;
    text-transform: initial;
  }
  footer .footer-links .footer-left {
    float: left;
  }
  @media (max-width: 767px) {
    footer .footer-links .footer-left {
      margin-top: 10px;
    }
  }
  footer .footer-links .footer-right {
    float: right;
  }
  footer .footer-links #Privacy {
    margin-right: 20px;
  }
  footer .footer-links #Privacy a {
    color: #fff;
  }
  footer .footer-links #Privacy a:hover {
    font-weight: inherit;
    text-decoration: underline;
  }
  footer .footer-links #Privacy::after {
    content: "|";
    padding-left: 23px;
  }
  footer .footer-links #Terms a {
    color: #fff;
  }
  footer .footer-links #Terms a:hover {
    font-weight: inherit;
    text-decoration: underline;
  }
  @media (max-width: 767px) {
    footer .footer-links .footer-left {
      float: none !important;
    }
    footer .footer-links .footer-right {
      float: none !important;
    }
  }


.bs-footer {
    margin-left: 0;
    margin-right: 0;
    margin-top: auto;
}

.search {
    /* width: 40%; */
    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;
}

.search_error_message {
    display: flex;
    width: 400px;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    background-color: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
    border-radius: 10px; 
    margin-top: 0px; 
    margin-bottom: 0px; 
    margin-left: auto;
    margin-right: auto;
}

.search_result table {
    border-collapse: collapse;
    width: 100%;
}
.search_result table td, .search_result table th {
    border: 1px solid black;
    padding: 5px;
}


.img_upload_form {
    max-width: 350px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.img_upload_form fieldset {
    border: none;
    margin: 0;
    padding: 5px;
}