/* Main Styles */
body {
    background-color: #f8f9fa;
}

.sidebar {
    background: #343a40;
    color: white;
    height: 100vh;
    position: fixed;
    width: 250px;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #4b545c;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li a {
    color: #fff;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    background: #495057;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Login specific styles */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
}

.password-toggle:hover {
    color: #007bff;
}

.form-control:focus + .password-toggle {
    color: #007bff;
}

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alert improvements */
.alert {
    border: none;
    border-left: 4px solid;
}

.alert-danger {
    border-left-color: #dc3545;
    background: #f8d7da;
}

.alert-success {
    border-left-color: #28a745;
    background: #d4edda;
}

/* Form focus states */
.form-control.focused {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}