h1 {
    text-align: center;
    margin: 0;
}

h1::selection {
    background: #fff;
    color: #2980b9;
}

#main_E {
    width: 100%;
    margin: 0 auto;
    background: white;
    font-size: 19px;
    overflow-x: none;
}

#header_E {
    background: #2980b9;
    color: #fff;
    padding: 15px;
}

#table-data {
    padding: 15px;
    min-height: 70%;
    overflow: auto;
}

#table-data th {
    background: #27ae60;
    color: #fff;
}

#table-data tr:nth-child(odd) {
    background: #ecf0f1;
}

#pagination,
#pagination1 {
    text-align: center;
    padding: 10px;
}

#pagination a,
#pagination1 a {
    background: #2980b9;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 3px;
}

#pagination a.active,
#pagination1 a.active {
    background: #27ae60;
}

#search-bar {
    padding: 10px 20px 0;
    float: right;
    background: #2980b9
}

#search-bar label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    color: black;
}

#search-bar input {
    width: 250px;
    height: 25px;
    font-size: 18px;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #000;
}

#search-bar input:focus {
    outline: 0;
}

#table-form {
    background: #55efc4;
    padding: 20px 10px;
}

#table-form input[type="text"] {
    width: 180px;
    height: 25px;
    font-size: 18px;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid green;
}

#save-button {
    background: #2c3e50;
    color: #fff;
    border: 0;
    padding: 8px 30px;
    margin-left: 7px;
    border-radius: 3px;
    cursor: pointer;
}

#table-data {
    padding: 15px;
    height: 500px;
    vertical-align: top;
}

#table-data th {
    background: #74b9ff;
}

#table-data tr:nth-child(odd) {
    background: #ecf0f1;
}

#success-message {
    background: #DEF1D8;
    color: green;
    padding: 10px;
    margin: 10px;
    display: none;
    position: absolute;
    right: 15px;
    top: 15px;
}

#error-message {
    background: #EFDCDD;
    color: red;
    padding: 10px;
    margin: 10px;
    display: none;
    position: absolute;
    right: 15px;
    top: 15px;
}

.delete-btn {
    background: #e74c3c;
    color: #fff;
    border: 0;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.edit-btn {
    background: #27ae60;
    color: white;
    border: 0;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.details-btn {
    background: lime;
    color: white;
    border: 0;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}

#modal {
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}

#modal-form {
    background: #fff;
    width: 30%;
    position: relative;
    top: 20%;
    left: calc(50% - 15%);
    padding: 15px;
    border-radius: 4px;
}

#modal-form h2 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

#modal-form input[type="text"] {
    width: 100%;
}

#close-btn {
    background: red;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    right: -15px;
    cursor: pointer;
}