
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.main_logo {
    background-color: #000080;
}

.logo {
    display: flex;
    width: 70px;
    height: 50px;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-container {
    order: 1;
}

.search-container input[type=text] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
}

.button-container {
    order: 2;
}

.button-container button {
    margin-left: 5px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #000080;
    color: white;
}

.button-container button:hover {
    background-color: #1E90FF;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 5px;
    text-align: left;
}

thead {
    background-color: #000080;
    color: white;
}

/* Truncate email column */
td:nth-child(3) {
    max-width: 200px; /* Maximum width to limit expansion */
    width: 200px; /* Fixed width to truncate */
    white-space: nowrap; /* Prevents wrapping */
    overflow: hidden; /* Hides overflow content */
    text-overflow: ellipsis; /* Shows ellipsis for truncated content */
}

/* Modal styles */
.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;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Adjusted margin */
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Adjusted width */
    max-width: 400px; /* Maximum width */
    border-radius: 8px;
}

.modal-input {
    width: calc(100% - 16px); /* Adjusted width for input fields */
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px; /* Added margin bottom for spacing */
}

.modal-submit {
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #000080;
    color: white;
}

.form-group {
    margin-bottom: 15px; /* Added margin between form groups */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}