body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('/images/wmremove-transformed.png') no-repeat center center;
    background-size: cover;
    background-color: #1e3799;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 2;
    margin-right: 300px;
}

.form-box h2 {
    text-align: center;
    color: #1e3799;
    margin-bottom: 1.8rem;
    font-size: 1.7em;
    font-weight: 600;
}

.input-group {
    margin-bottom: 1.3rem;
}

input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
}

input:focus {
    outline: none;
    border-color: #1a73e8;
}

button {
    width: 100%;
    padding: 0.9rem;
    background: #1e3799;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

button:hover {
    background: #152b70;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.setup-2fa-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

#qrcode {
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    display: inline-block;
}

#secret {
    margin: 1rem 0;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.steps {
    text-align: left;
    margin: 2rem 0;
}

.steps p {
    margin: 0.5rem 0;
    color: #666;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.user-item select {
    padding: 0.3rem;
    border-radius: 4px;
}

.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #1a237e;
    color: white;
    padding: 1rem;
    min-height: 100vh;
}

.sidebar h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar nav li {
    margin-bottom: 0.5rem;
}

.sidebar nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    transition: background 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: rgba(255,255,255,0.1);
}

#adminMenu {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

#adminMenu h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#adminMenu button {
    width: 100%;
    padding: 0.8rem;
    background: #304ffe;
    color: white;
    border: none;
    border-radius: 4px;
    margin-bottom: 1rem;
    cursor: pointer;
}

#adminMenu button:hover {
    background: #1a237e;
}

.user-list {
    background: white;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.user-item:last-child {
    border-bottom: none;
}

.user-item select {
    padding: 0.3rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

.modal h3 {
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.modal input,
.modal select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal button {
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal button:first-of-type {
    background: #1a237e;
    color: white;
}

.modal button:last-of-type {
    background: #f5f5f5;
    color: #333;
} 
/* Main container */
.container-fluid {
    padding: 20px;
}

/* User management section */
.user-management {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-management h2 {
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Create user button */
.btn-primary {
    background: #304ffe;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1a237e;
    transform: translateY(-1px);
}

/* User table */
.table {
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: #f5f5f5;
    color: #333;
    font-weight: 600;
    padding: 12px;
    border-bottom: 2px solid #ddd;
}

.table tbody td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Form controls */
.form-select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
    background: white;
}

/* Action buttons */
.btn {
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-warning {
    background: #ffc107;
    border: none;
    color: #000;
}

.btn-danger {
    background: #dc3545;
    border: none;
}

.btn:hover {
    opacity: 0.9;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.modal-content h3 {
    color: #1a237e;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #28a745;
}

.alert-error {
    background: #dc3545;
}

.alert-warning {
    background: #ffc107;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .table {
        display: block;
        overflow-x: auto;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
} 