body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 100%);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #2c3e50;
}

.container {
    max-width: 400px;
    margin: 100px auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

h2 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

.dashboard-container {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 30px 20px;
    box-sizing: border-box;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(30, 58, 138, 0.3);
}

.sidebar h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
}

.sidebar nav a {
    color: white;
    text-decoration: none;
    margin: 8px 0;
    padding: 15px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.sidebar nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.sidebar button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropbtn {
    background: none;
    border: none;
    color: white;
    text-decoration: none;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: inherit;
}

.dropbtn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e3a8a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 5px;
    left: 0;
    width: 100%;
}

.dropdown-content button, .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-content button:hover, .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-content {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
    margin-left: 280px;
    background: rgba(255, 255, 255, 0.9);
    min-height: 100vh;
}

.main-content header {
    margin-bottom: 30px;
}

.main-content header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

th, td {
    border: none;
    padding: 15px;
    text-align: left;
}

th {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.3s ease;
}

.editBtn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.editBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: #a0aec0;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #2d3748;
}

.modal h2 {
    margin-top: 0;
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal label {
    margin-top: 15px;
    font-weight: 600;
    color: #4a5568;
}

.modal input, .modal select {
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal input:focus, .modal select:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.modal button {
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 10px;
}

.modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #718096;
    font-weight: 500;
}

/* Profile card styles */
.profile-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.profile-card h2 {
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.profile-card form {
    display: flex;
    flex-direction: column;
}

.profile-card label {
    margin-top: 15px;
    font-weight: 600;
    color: #4a5568;
}

.profile-card input {
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.profile-card input:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.profile-card button {
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin-top: 10px;
}

.profile-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

#message {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}