/* Table Styling */
.gym-table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.gym-table th {
    background-color: #00A9E0;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.gym-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.gym-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.gym-table tr:hover {
    background-color: #f1f1f1;
}

/* Action Buttons */
.action-icon {
    background-color: #00A9E0;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-icon:hover {
    background-color: #007b8d;
}

.action-icon:active {
    background-color: #005f6b;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
}

/* Input Field Styling */
input, select {
    width: 100%; /* Ensure inputs take up the full width */
    padding: 12px; /* Add padding */
    margin-bottom: 10px; /* Add space between inputs */
    border: 1px solid #ddd; /* Border for inputs */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #00A9E0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #007b8d;
}

/* Additional Styling for Edit Manager Page */
h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Success/Error Message Styling */
p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
}

p.success {
    color: green;
}

p.error {
    color: red;
}

/* Form Styling */
form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

form input, form select {
    margin-bottom: 15px;
    font-size: 1em;
}

form button[type="submit"] {
    background-color: #007b8d;
    padding: 14px;
    border: none;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

form button[type="submit"]:hover {
    background-color: #005f6b;
}

/* Password Field Styling */
input[type="password"] {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

input[type="password"]:focus {
    border-color: #00A9E0;
}

/* Validation Message Styling */
.password-error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Disable Right Click and Control+U */
body {
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none;
    user-select: none;
}

body {
    overflow: hidden;
}

document.oncontextmenu = function() {
    return false;
};

document.onkeydown = function(e) {
    if (e.ctrlKey && e.keyCode === 85) { // Ctrl+U
        return false;
    }
};
