/* Add your CSS styles here */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffffff;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 50px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

.banner {
    background-color: #7e1919d5;
    padding: 40px;
    text-align: center;
    animation: slideIn 1.5s ease;
}

.banner h1 {
    margin: 0;
    font-size: 36px;
    color: #fff;
    text-transform: uppercase;
}

/* Add more styles as needed */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.member-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
}

.member-item img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.member-details {
    flex-grow: 1;
}

.action-buttons {
    display: flex;
}

.action-buttons button {
    margin-left: 10px;
}

#memberDetailsPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #000;
    padding: 20px;
    z-index: 1000;
    display: none;
    max-height: 80%;
    overflow-y: auto;
    padding-right: 20px; /* padding to prevent content from overlapping scrollbar */
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.popup-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #000;
    padding: 20px;
    z-index: 1000;
    overflow-y: auto; /* Make the form scrollable */
    max-height: 70vh; /* Set maximum height for the form */
}

.form-container {
    max-height: 100%; /* Set maximum height for the form container */
    overflow-y: auto; /* Make the form container scrollable */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.image-upload-container {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 20px auto;
} /* Added the missing closing curly brace */

.camera-icon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.camera-icon {
    width: 50px;
    height: 50px;
}

.dashboard {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.chart {
    margin-bottom: 20px;
}
