table tr td {
    vertical-align: middle;
}

td button {
    margin: 5px;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

td button i {
    font-size: 20px;
}

.modal-header {
    background: #2196F3; 
    color: #fff;
}

.modal-body form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
}

.modal-body form .imgholder {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #FFC107; 
}

.imgholder .upload {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload i {
    color: #fff;
    font-size: 35px;
}

.imgholder:hover .upload {
    display: flex;
    background: rgba(0, 0, 0, 0.6);
}

.imgholder .upload input {
    display: none;
}

.modal-body form .inputField {
    flex-basis: 68%;
    border-left: 5px groove #4CAF50; 
    padding-left: 20px;
}

form .inputField > div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

form .inputField > div label {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

#userForm form .inputField > div label::after {
    content: "*";
    color: #FF5252; 
}

form .inputField > div input {
    width: 75%;
    padding: 10px;
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 2px solid #2196F3; 
    font-size: 16px;
    color: #333;
}

form .inputField > div input:focus {
    border-bottom: 2px solid #FFC107; 
}

.modal-footer .submit {
    font-size: 18px;
    color: #fff;
    background-color: #4CAF50; 
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-footer .submit:hover {
    background-color: #45a049;
}

#readData form .inputField > div input {
    color: #000;
    font-size: 18px;
    border-bottom: 2px solid #FFC107; 
}

.newUser {
    background-color: #2196F3; 
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 18px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.newUser:hover {
    background-color: #1976D2;
}

.table thead th {
    background-color: #4CAF50; 
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F1F1F1;
}

.table-hover tbody tr:hover {
    background-color: #E0F2F1;
}
