:root{
    --bg-color: #F5F5F5;
        --button-color: #1B3764;
        --button-text-color: #FFFFFF;
        --second-bg-color: #323946;
        --text-color: #fff;
        --main-color: #1B3764;
        --input-field: #E0E0E0;
        --input-field-text: #000000;
        --header-background: #1B3764;
        --card-background: #E0E0E0;
}

.profile-body{
    background: var(--card-background);
}

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 2rem;
    background: var(--header-background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header img {
    width: 19rem;
    height: auto;
 }

.header .sticky {
    border-bottom: 1rem solid rgba(0, 0, 0, .2);
}

.navbar a {
    font-size: 16px;
    color: #fff;
    transition: .3s;
    text-decoration: none;
}


#toggle-btn{
    display: block;
    font-size: 30px;
    color: #fff;
}
.close-btn{
    color: var(--bg-color)
}

.side-bar {
    position: fixed;
    left: -310px;
    /* Hide the sidebar by positioning it off-screen */
    top: 0;
    width: 310px;
    height: 100%;
    background-color: var(--header-background);
    color: var(--bg-color);
    transition: left 0.3s ease;
    z-index: 200;
}

.side-bar.visible {
    left: 0;
    /* Move the sidebar into view */
}

#close-btn {
    padding: 10px;
    cursor: pointer;
}

#close-btn i {
    font-size: 20px;
}

.profile {
    padding: 20px;
    text-align: center;
}

.profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile .name {
    margin: 10px 0;
    font-size: 20px;
}
.side-bar a{
    font-size: 17px;
}
.side-bar-links{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.side-bar-links .links{
    display: flex;
        flex-direction: row;
        align-items: center;
}
.side-bar-links a{
    display: flex;
    flex-direction: row;
    align-items: center;
    border: solid 2px var(--button-text-color);
    height: 50px;
    border-radius: 5px;
    margin: 10px 20px;
    cursor: pointer;
    transition: .25s ease;
}
.side-bar-links a:hover{
    box-shadow: 5px 5px 10px var(--button-text-color);
}
.side-bar-links a:active{
    opacity: 0.4;
}

.side-bar-links i{
    color: var(--bg-color);
    font-size: 18px;
    margin: 0 10px;
}
.side-bar-links h1{
    font-size: 16px;
    color: var(--bg-color);
}
.side-bar .log-out{
    color: lightgrey;
    font-weight: bold;
}
.side-bar .log-out:hover{
    text-decoration: underline;
    color: var(--bg-color);
}

.nominee-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    list-style: none;
}

.nominee-name, .nominee-category {
    flex: 1;
    margin-right: 10px;
}

.nominee-list i {
    margin-left: 10px;
    cursor: pointer;
}

.nominee-list .approved {
    color: green;
}

.nominee-list .not-approved {
    color: red;
}

.nominee-image {
    max-width: 100%;
    height: auto;
}

.nomineeprofile img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}
.nomineeprofile{
    display: flex;
    flex-direction: column;
    padding: 3px;
   text-align: center;
}
.nomineeprofile-box{
    width: 200px;
    text-align: left;
    margin: auto;
}
.nomineeprofile p{
    padding:2px;
    font-size: 15px;
}
.nomineeprofile h3{
    text-align: center;
}

.nominee-status{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
#nominee-profile-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
    font-family: 'Open Sans', sans-serif, helvetica, Arial;
    font-weight: 400;
    font-size: 14px;
    color: #1B3764;


}

.modal-content {
    background-color: #fefefe;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Allow width to be based on content */
    max-width: 80%; /* Allow it to grow but not more than 80% of the viewport */
    max-height: 80%; /* Allow it to grow but not more than 80% of the viewport */
    text-align: center;
    overflow: auto; /* Enable scrolling if content overflows */
    flex-grow: 1; /* Allow it to grow based on content */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 5px;
}

.modal-header p{
    margin: 0;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal-header .close {
    font-size:xx-large;
    cursor: pointer; 
  }
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
ul#categoriesList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    list-style: none;
}

ul#categoriesList li {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

ul#categoriesList li:last-child {
    border-bottom: none;
}

ul#categoriesList li .icon-btn {
    margin-left: 10px;
    cursor: pointer;
}

.modal input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}

.modal input[type="submit"] {
    padding: 10px 20px;
    background-color: #1B3764;
    color: white;
    border: none;
    cursor: pointer;
}

.modal input[type="submit"]:hover {
    background-color: #1B3764;
}

.popup {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 2;
    opacity: 0.9;
    font-size: large;
}

.popup.success {
    background-color: #1B3764;
}

.popup.error {
    background-color: #f44336;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    margin: 10px;
  }
  
  .icon-btn i {
    color: #888;
  }
  
  .icon-btn:hover i {
    color: #000;
  }
  
  #approveBtn i {
    color: green;
  }
  
  #disapproveBtn i {
    color: red;
  }
  
  #editBtn i {
    color: blue;
  }
  fieldset {
    border: medium none !important;
    margin:  0 0 10px;
    min-width: 100%;
    width: 100%;
   }
  input{
    border: 1px solid #1B3764;
  }

  .form-container1{
   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:30px;
   min-height: 100vh;
    
 }
 .form-container1 form{
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    width: 50rem;
    
 }
 .form-container1 form h3{
    font-size: 1.2rem;
    text-transform: capitalize;
    color: var(--black);
    text-align: center;
    
 }
 
 .form-container1 form p{
    font-size: large;
    color: var(--light-color);
    padding-top: 1rem;
    
 }
 
 .form-container1 form p span{
    color: var(--red);
    
 }
 
 .form-container1 form .box{
    font-size: large;
    color: var(--black);
    border-radius: .5rem;
    padding: 1.4rem;
    background-color: var(--light-bg);
    width: 100%;
    
    
 }
 @media only screen and (max-width:414px){
    .text{
       visibility:collapse;
    }
    .phonetext{
       visibility:visible;
    }
 }

 @media (max-width: 768px) {
    .navbar {
            display: none;
            flex-direction: column;
            gap: 10px;
            background-color: var(--header-background);
            position: absolute;
            top: 60px;
            right: 0;
            width: 150px;
            padding: 10px 0;
            justify-content: center;
            align-items: center;
        }
    
    
    
        .navbar a {
            padding: 10px 20px;
            color: #fff;
        }
    
        .header img {
            max-width: 150px;
        }
    
        .navbar a:hover {
            color: #fff;
        }
    
        #menu-icon {
            display: block;
            font-size: 30px;
            color: #fff;
        }
    
        .navbar.show {
            display: flex;
        }
    
        .slide-down {
            display: flex;
            animation: slideDown 0.5s forwards;
        }
    
        .slide-up {
            animation: slideUp 0.5s forwards;
        }
    
        @keyframes slideDown {
            from {
                max-height: 0;
                opacity: 0;
            }
    
            to {
                max-height: 200px;
                opacity: 1;
            }
        }
    
        @keyframes slideUp {
            from {
                max-height: 200px;
                opacity: 1;
            }
    
            to {
                max-height: 0;
                opacity: 0;
            }
        }
        .modal-content{
            width: auto;
        }
        #nominee-profile-container {
            grid-template-columns: 1fr ;
        }
    }