/* General Styles */
body {
    background-color: #1a1a1a;
    color: #e4e6ea;
    min-height: 100vh;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.login-container .card {
    border: none;
    border-radius: 1rem;
    background-color: rgba(45, 45, 45, 0.85);
    color: #e4e6ea;
    backdrop-filter: blur(10px);
}

.login-container .input-group-text {
    background-color: #404040;
    border-right: none;
    color: #e4e6ea;
    border-color: #555;
}

.login-container .form-control {
    border-left: none;
    background-color: #404040;
    color: #e4e6ea;
    border-color: #555;
}

.login-container .form-control:focus {
    box-shadow: none;
    border-color: #666;
    background-color: #404040;
    color: #e4e6ea;
}

.login-logo {
    max-width: 312px;
    max-height: 156px;
    width: auto;
    height: auto;
    filter: brightness(1.1);
}

.login-container .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
}

.login-container .btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Dashboard Styles */
.app-tile {
    transition: all 0.3s ease;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #2d2d2d;
    color: #ffffff;
}

.app-tile:hover {
    transform: translateY(-5px);
}

.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.8)!important;
}

.app-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Header Bar Styles */
.header-bar {
    background-color: #000000;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #e4e6ea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-title:hover {
    color: #3498db;
}

.header-welcome {
    color: #e4e6ea;
    font-size: 0.9rem;
}

.header-logout {
    color: #e4e6ea;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.header-logout:hover {
    background-color: rgba(255,255,255,0.1);
    color: #e4e6ea;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Button Styles */
.btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-tile {
        margin-bottom: 1rem;
    }
    
    .login-container .card {
        margin: 1rem;
    }
}

/* Custom Colors */
.text-primary {
    color: #3498db !important;
}

.text-success {
    color: #27ae60 !important;
}

.text-info {
    color: #00bcd4 !important;
}

.text-warning {
    color: #f39c12 !important;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-success {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-success:hover {
    background-color: #229954;
    border-color: #229954;
}

.btn-info {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

.btn-info:hover {
    background-color: #00acc1;
    border-color: #00acc1;
}

.btn-warning {
    background-color: #f39c12;
    border-color: #f39c12;
}

.btn-warning:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

/* Dark Mode Additions */
h1, h2, h3, h4, h5, h6 {
    color: #e4e6ea;
}

.lead {
    color: #b0b3b8;
}

.card-text {
    color: #ffffff;
}

.app-tile .text-muted {
    color: #ffffff !important;
}

.navbar-dark .navbar-text {
    color: #e4e6ea;
}

.container-fluid {
    background-color: #1a1a1a;
}

.card {
    background-color: #2d2d2d;
    border: 1px solid #404040;
}

.card-title {
    color: #ffffff;
}

/* Form labels */
.form-label {
    color: #e4e6ea;
}

/* Alert dark mode */
.alert-info {
    background-color: #2d2d2d;
    color: #e4e6ea;
    border-color: #404040;
}