body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f6f5;
    color: #333;
}

.navbar {
    background-color: #003087;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand h2 {
    color: #ffffff;
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-links {
   
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar .user-info {
    color: #ffffff !important; /* Increased specificity and !important to force white */
    font-size: 14px;
    font-weight: 400;
    order: -1;
    align-self: flex-end;
    padding-bottom: 6px;
}

.navbar-links ul {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
}

.navbar-links ul li {
    margin-right: 20px;
}

.navbar-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-links ul li a:hover {
    background-color: #0041c2;
    color: #d1d5db;
    border-radius: 4px;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #003087;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: #fafafa;
    color: #333;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #003087;
    outline: none;
}

.form-group textarea {
    height: 110px;
    resize: vertical;
}

.report-button,
.action-button {
    background-color: #003087;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.report-button:hover,
.action-button:hover {
    background-color: #0041c2;
}

.error {
    color: #dc2626;
    margin: 10px 0;
    font-size: 13px;
}

.success {
    color: #15803d;
    margin: 10px 0;
    font-size: 13px;
}

.profile-details p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

.edit-form {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: #fafafa;
}

.edit-form.hidden {
    display: none;
}

/* For elevators.php */
.elevator-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.elevator-table th, .elevator-table td {
    padding: 10px;
    border: 1px solid #d1d5db;
    text-align: left;
}
.elevator-table th {
    background-color: #003087;
    color: #ffffff;
}
.elevator-table tr:nth-child(even) {
    background-color: #fafafa;
}
.elevator-table tr:hover {
    background-color: #e0e7ff;
    cursor: pointer;
}
.create-elevator-btn {
    margin-bottom: 20px;
    background-color: #003087;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.modal-content h2 {
    color: #003087;
    margin-top: 0;
}
.modal-content .form-group {
    margin-bottom: 15px;
}
.modal-content .action-buttons {
    margin-top: 20px;
}
.edit-btn, .delete-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}
.edit-btn {
    background-color: #d97706;
    color: #ffffff;
}
.delete-btn {
    background-color: #dc2626;
    color: #ffffff;
}
.close-btn {
    background-color: #6b7280;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.error, .success {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
}
.error {
    background-color: #fee2e2;
    color: #dc2626;
}
.success {
    background-color: #d1fae5;
    color: #15803d;
}

/* For add_elevator.php */
.map-button {
    background-color: #003087;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.map-modal-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
}
#map {
    width: 100%;
    height: 500px;
}