body {
    font-family: sans-serif;
    background-color: rgb(35, 38, 45);
    padding: 20px;
    color: #fff;
    background: url("./background_image/back_4.jpg") center center / cover no-repeat fixed;
    /* background-color: rgb(35, 38, 45); */
    background-size: cover;
    height: 100vh; /* Ensure the body takes the full height of the viewport */
    overflow-y: scroll; /* Allows scrolling if content exceeds viewport height */
    }

h2 {
    text-align: center;
    color: #007bff; /* Added color for header text */
}

form {
    max-width: 600px; /* Increased max-width */
    margin: 0 auto;
    background-color: #2a2d3b; /* Slightly darker background for form */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    border: 1px solid #444; /* Added border for form */
}

label {
    font-weight: bold;
    color: #ddd;
    margin-bottom: 8px;
    display: block;
}

select,
input[type="text"],
input[type="submit"],
input[type="button"],
input[type="password"],
input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px; /* Increased margin-bottom for spacing */
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

input[type="submit"],
input[type="button"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px; /* Added right margin for spacing */
}

input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #0056b3;
}

#song-titles-container {
    margin-bottom: 20px;
}

#add-song-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff; /* Match other button colors */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px; /* Added margin-bottom for spacing */
}

#add-song-button:hover {
    background-color: #0056b3; /* Match other button hover colors */
}

#SERVICE {
    margin-bottom: 20px; /* Added margin-bottom for spacing */
}

/* Result table styling */
#query-results {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Auto horizontal scroll if needed */
    width: 70%;
    margin: 20px auto; /* Center the query results */
    color: #000;
    text-align: center;
    display: none;
}

/* Result table */
#query-results table {
    width: 100%;
    border-collapse: collapse;
}

/* Result table header */
#query-results table thead {
    background-color: #007bff;
    color: #fff;
}

/* Result table cells */
#query-results table th,
#query-results table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    color: #000;
}

#query-results table th {
    background: #007BFF;
    color: #fff;
}

/* Alternate row background */
#query-results table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Redirect button */
#redirect-button {
    display: block;
    width: 32%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    margin-top: 20px; /* Added margin-top for spacing */
    margin: 20px auto;
}

#redirect-button:hover {
    background-color: #0056b3;
}

/* Redirect button */
#home-redirect-button {
    display: block;
    width: 32%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    margin-top: 20px; /* Added margin-top for spacing */
    margin: 20px auto;
}

#home-redirect-button:hover {
    background-color: #0056b3;
}

/* dataQuery.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    border-radius: 8px;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 18px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#save-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    width: 48.5%;
}

#cancel-button {
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    width: 48.5%;
}

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