.approvalselector {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.approvalselector-content {
    background-color: rgb(29, 28, 28);
    margin: 10% auto;
    padding: 1px;
    border: 5px solid #5c5a5a96;
    border-radius: 10px;
    width: 35%; /* Change to 90% for laptop screens */
    max-width: 600px;
    height: fit-content;
    max-height: fit-content;
}

@media only screen and (max-width: 767px) {
    /* Apply the following styles for phone screens */
    .approvalselector-content {
        width: 90%;
        max-width: none;
        margin: 20% auto;
    }
}

.approvalselector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    border-bottom: 1px solid #5f5d5d;
    position: center;
}

.approvalselector-header h2 {
    font-family: "Foundation Sans Bold", sans-serif;
    margin: 0;
    text-align: center;
    color: white;
    width: 100%;
    font-size: 25px;
}

.close {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #242323;
    text-decoration: none;
    cursor: pointer;
}

.approvalselector-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.approvalselector-button {
    font-family: "Foundation Sans Bold", sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 14.5px 14.5px 14.5px 7%;
    border: none;
    background-color: rgb(29, 28, 28);
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    height: fit-content;
    text-align: left;
    border-bottom: 1px solid #888888a1;
    color: white;
}

.approvalselector-button:last-of-type {
    border-radius: 5px;
}

.approvalselector-button:hover {
    background-color: #d3cccc1a;
}

.approvalselector-button img {
    margin-right: 10px;
    height: 40px;
}
