html, body {
    /* background-size: cover;
    background-position: center; */
    margin: 0;
    padding: 0;

}






/* for the registration login pages */
.register-container, .login-container  {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    margin-top: 10vh;
    
}

.login-container{
    max-width: 400px;
}

.register-container h2, .login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.register-container  label, .login-container label {
    font-weight: 500;
}

.register-container .btn-primary, .login-container .btn-primary  {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
}

.error-message {
    color: red;
    margin-top: 10px;
    font-size: 0.95em;
    min-height: 1.2em;
}


/* MENU */

.menu-container {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    padding-top: 20px;
    transition: left 0.3s ease;

    
}


.menu-container a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #ddd;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.menu-container a:hover {
    background-color: #495057;
    color: #fff;
    text-decoration: none;
}


/* Dashboards Section */
.sidebar-section {
    position: relative;
    margin-bottom: 20px;
}

.sidebar-heading {
    font-size: 18px;
    font-weight: bold;

    margin-bottom: 0px;

}


.sidebar-replies {
position: relative;
margin-left: 5px; 
padding-left: 20px;
height: auto;
display: flex;
flex-direction: column;
}


.sidebar-reply {
padding: 5px;
margin-left: 5px;
position: relative;
border-left: 2px solid #ecf0f1; 
}


.sidebar-reply::before {
content: "";
position: absolute;
top: 50%; 
left: 0; 
width: 15px; 
height: 2px;
background-color: #ecf0f1;
}


.menu-container.collapsed {
    left: -250px; 
}


.toggle-btn {
    position: absolute;
    top: 20px;
    right: -50px;
    background-color: #495057;
    color: white;
    padding: 10px;
    cursor: pointer;
}


.menu-container a.logout {
    margin-top: 20px;
    background-color: #e74c3c;
    border-radius: 5px;
    color: white;
    padding: 10px;
}

.menu-container a.logout:hover {
    background-color: #c0392b;
}

.menu-toggle {
    padding: 15px;
    cursor: pointer;
    color: #343a40;
    font-size: 22px;
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2;
}

@media (max-width: 768px) {
    .menu-container {
        left: -250px;
    }

    .home-container {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .container {
        margin-left: 0;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .menu-container.open {
        left: 0;
    }

   
}


/* HOME */

.home-container {
    font-family: Arial, sans-serif;
    padding: 0;
    margin-left: 250px;
    background-color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    height: 100vh;
    width: calc(100% - 250px);
    background-image: url("images/presentation1.png");
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}
.home-container h2{

    font-size: 2.2rem;
    color: #343a40;
    text-align: center;
    /* margin-bottom: 40px; */
}




.capture-container {
    max-width: 800px;
   
    margin-right: 20px; 
    padding: 20px;
    text-align: center; 
}


.custom-container {
    margin: 0 auto; 
    padding: 20px;
}

.main-content {
    margin-left: 250px; 
    min-height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;    
    padding: 20px;
    box-sizing: border-box;
}



.form-section h2 {
    font-size: 20px;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.collapse-btn {
    background-color: transparent;
    border: none;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
}

.collapse-content {
    display: none;
    margin-top: 20px;
    padding-left: 20px;
}

.form-control {
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



.collapse-content label {
    font-weight: 500;
}

.modal-header {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}







.modal-body {
    max-height: 60vh;
    overflow-y: auto; 
}

