select[disabled] {
    background-color: #f9f9f9;
    color: #6c757d;
    cursor: not-allowed;
    pointer-events: none;
}
.type {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #343a40;
    border-radius: 7px;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.type:focus {
    outline: none;
    border-color: #007bff;
}

.type option {
    background-color: #ffffff;
    color: #343a40;
    font-size: 14px;
}
.status {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #343a40;
    border-radius: 7px;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.status:focus {
    outline: none;
    border-color: #007bff;
}

.status option {
    background-color: #ffffff;
    color: #343a40;
    font-size: 14px;
}

@media (max-width: 768px) {
    .user-table-container .d-table {
        width: 740px;
    }
    .user-table-container .rdh, .user-table-container .rd {
        font-size: 75%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .user-table-container .d-table {
        width: 95%;
    }
    .user-table-container .rdh, .user-table-container .rd {
        font-size: 65%;
        padding: 8px;
    }
}
/* Search Bar Styles */
form {
    align-items: center;
    justify-content: center;
    align-content: center;
}
.search {
    display: flex;
    width: 95%;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2);
    padding: 5px;
}

.search__input {
    font-family: inherit;
    font-size: 14px;
    border: 1px solid #767676;
    color: #343a40;
    padding: 5px 10px;
    border-radius: 5px;
    height: 35px;
    width: 100%;
    box-sizing: border-box;
}

.search__input::-webkit-input-placeholder {
    font-weight: 400;
    color: #767676;
}

.search__input:focus {
    outline: none;
    border-color: #007bff;
}

.rtable th, .rtable td {
    padding: 10px;
    border: 1px solid #ddd;
}
.closeSearch {
    border: none;
    background-color: transparent;
    font-size: 25px;
    padding: 2px;
    margin-right: 4px;
}

/* Table Styles */
.d-table {
    width: 95%;
    margin: 25px auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-table-container .rtable {
    width: 100%;
    border-collapse: collapse;
}

.user-table-container .rdh, .user-table-container .rd {
    padding: 15px;
    font-size: 80%;
    text-align: center;
}

.user-table-container .rdh {
    background: linear-gradient(90deg, #007bff, #66b2ff);
    color: #ffffff;
    text-transform: uppercase;
}

.user-table-container .r {
    transition: background-color 0.3s ease;
}

.user-table-container .r:hover {
    background-color: #E0FFFF;
    animation: joomInOut 0.4s ease-in-out;
}

/* Even Rows */
tr.r:nth-child(even) {
    background-color: #f2f2f2;
}

/* Odd Rows */
tr.r:nth-child(odd) {
    background-color: #ffffff;
}

@keyframes joomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    .user-table-container .d-table {
        width: 740px;
    }
    .user-table-container .rdh, .user-table-container .rd {
        font-size: 75%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .user-table-container .d-table {
        width: 95%;
    }
    .user-table-container .rdh, .user-table-container .rd {
        font-size: 65%;
        padding: 8px;
    }
}