/* Wirtschaftsinformatik HF Control Center - Custom Styles */

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.login-header h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

/* Error Pages */
.error-container {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar Customization */
.navbar-brand {
    font-weight: 600;
}

.nav-link {
    padding: 0.5rem 1rem !important;
}

/* Responsive Tables */
.table-responsive {
    min-height: 200px;
}

/* Form Styles */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5a6fd6;
    border-color: #5a6fd6;
}

/* Utility Classes */
.min-height-300 {
    min-height: 300px;
}

/* Flash Messages */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Badge Styles */
.badge {
    font-weight: 500;
}

/* Notification System */
.notification-badge {
    position: absolute;
    top: 2px;
    right: 0;
    font-size: 0.6rem;
    padding: 0.2em 0.45em;
}

.notification-dropdown-menu {
    width: 360px;
    max-height: 420px;
    padding: 0;
}

.notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    color: inherit;
    transition: background-color 0.15s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e8f0fe;
}

.notification-item .notif-time {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

@media (max-width: 576px) {
    .notification-dropdown-menu {
        width: 300px;
    }
}
