* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #ffffff;
    color: #173C56;
    line-height: 1.5;
    height: 100vh;
}

.container {
    height: 100%;
    display: flex;
}

.main-content {
    flex: 1;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Admin Dashboard Styles */
.admin-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.admin-left {
    width: 20%;
    padding: 2vh;
    background: #f9f9f9;
    border-right: 1px solid #ccc;
    overflow-y: auto;
}

.admin-right {
    width: 80%;
    padding: 2vh;
    overflow-y: auto;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.admin-form label {
    font-weight: 700;
    font-size: 1.5vw;
    color: #173C56;
}

.admin-form input {
    width: 100%;
    padding: 0.8vh;
    font-size: 1.5vw;
    border: 1px solid #ccc;
    border-radius: 0.3vw;
}

.admin-form button {
    padding: 1vh 2vw;
    font-size: 1.5vw;
    color: #173C56;
    background: #ffffff;
    border: 1px solid #173C56;
    cursor: pointer;
    border-radius: 0.5vw;
    transition: background 0.3s ease;
}

.admin-form button:hover {
    background: #173C56;
    color: #ffffff;
}

.admin-message {
    font-size: 1vw;
    margin-top: 1vh;
    text-align: center;
}

.admin-message.success {
    color: #4caf50;
}

.admin-message.error {
    color: #e57373;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2vw;
}

.user-table th, .user-table td {
    padding: 1vh;
    border: 1px solid #ccc;
    text-align: left;
}

.user-table th {
    background: #173C56;
    color: #ffffff;
    font-weight: 700;
}

.user-table tr:nth-child(even) {
    background: #f9f9f9;
}

.delete-btn {
    background: red;
    color: white;
    border: none;
    padding: 0.5vh 1vw;
    cursor: pointer;
    border-radius: 0.3vw;
}

.edit-btn {
    background: #173C56;
    color: white;
    border: none;
    padding: 0.5vh 1vw;
    cursor: pointer;
    border-radius: 0.3vw;
    margin-right: 0.5vw;
}

.edit-btn:hover {
    background: #0f2a3d;
}

.accept-btn {
    background: green;
    color: white;
    border: none;
    padding: 0.5vh 1vw;
    cursor: pointer;
    border-radius: 0.3vw;
}

.sortable {
    cursor: pointer;
}

.sortable:hover {
    background-color: #ddd;
}

.tab-headers {
    display: flex;
    gap: 1vw;
    margin-bottom: 2vh;
    position: relative;
}

.tab-btn {
    padding: 1vh 2vw;
    font-size: 1.5vw;
    background: #173C56;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0.5vw;
    position: relative;
}

.tab-btn.active {
    background: #2a5674;
}

.tab-content {
    background: white;
    padding: 2vh;
    border-radius: 0.5vw;
}

.notification {
    position: absolute;
    top: -1vh;
    right: -0.5vw;
    background: red;
    color: white;
    border-radius: 50%;
    width: 1.5vw;
    height: 1.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1vw;
}

/* Login Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5vh;
    width: 25vw;
    background: #f9f9f9;
    padding: 2vh;
    border-radius: 0.5vw;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form label {
    font-weight: 700;
    font-size: 1.5vw;
    color: #173C56;
}

.login-form input {
    width: 100%;
    padding: 0.8vh;
    font-size: 1.5vw;
    border: 1px solid #ccc;
    border-radius: 0.3vw;
}

.login-form button#loginBtn {
    padding: 1vh 2vw;
    font-size: 1.5vw;
    color: #173C56;
    background: #ffffff;
    border: 1px solid #173C56;
    cursor: pointer;
    border-radius: 0.5vw;
    transition: background 0.3s ease;
}

.login-form button#loginBtn:hover {
    background: #173C56;
    color: #ffffff;
}

#loginError {
    font-size: 1vw;
    color: #e57373;
    margin-top: 1vh;
    text-align: center;
}

/* Edit User Form Styles */
.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    width: 30%;
    margin: 0 auto;
}

.edit-form label {
    font-weight: 700;
    font-size: 1.5vw;
}

.edit-form input {
    width: 100%;
    padding: 0.8vh;
    font-size: 1.5vw;
    border: 1px solid #ccc;
    border-radius: 0.3vw;
}

.edit-form button {
    padding: 1vh 2vw;
    font-size: 1.5vw;
    color: #173C56;
    background: #ffffff;
    border: 1px solid #173C56;
    cursor: pointer;
    border-radius: 0.5vw;
}

.edit-form button:hover {
    background: #173C56;
    color: #ffffff;
}

.message {
    font-size: 1vw;
    margin-top: 1vh;
    text-align: center;
}

.message.success {
    color: #4caf50;
}

.message.error {
    color: #e57373;
}