body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Dark Mode Styles */
[data-bs-theme="dark"] body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.85);
    background-blend-mode: multiply;
    min-height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .container {
    background-color: rgba(33, 37, 41, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .card {
    background-color: rgba(52, 58, 64, 0.9) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.card-img-top {
    width: 250px;
    height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1;
    display: block;
    margin: 0 auto;
}

[data-bs-theme="dark"] .card-img-top {
    filter: brightness(1.1);
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    padding: 10px !important;
    margin: 0 !important;
    border-top: none !important;
    z-index: 2;
}

.card-title {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

h1 {
    background-color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] h1 {
    background-color: #212529;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h3, h4 {
    background-color: white;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4 {
    background-color: #212529;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .navbar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #212529 !important;
}

[data-bs-theme="dark"] .navbar-light .navbar-brand,
[data-bs-theme="dark"] .navbar-light .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-bs-theme="dark"] .navbar-light .nav-link:hover {
    color: #ffffff !important;
}

/* Table styles for dark mode */
[data-bs-theme="dark"] .table {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
}

/* Form controls in dark mode */
[data-bs-theme="dark"] .form-control {
    background-color: #2c3034;
    border-color: #495057;
    color: white;
}

[data-bs-theme="dark"] .form-control:focus {
    background-color: #2c3034;
    border-color: #86b7fe;
    color: white;
}

[data-bs-theme="dark"] .form-select {
    background-color: #2c3034;
    border-color: #495057;
    color: white;
}

/* Button styles in dark mode */
[data-bs-theme="dark"] .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

[data-bs-theme="dark"] .btn-outline-secondary {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Alert styles for dark mode */
[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ea868f;
    border-color: rgba(220, 53, 69, 0.3);
}

[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffda6a;
    border-color: rgba(255, 193, 7, 0.3);
}

/* Tab styles for dark mode */
[data-bs-theme="dark"] .nav-tabs {
    border-color: #495057;
}

[data-bs-theme="dark"] .nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    background-color: #212529;
    color: white;
    border-color: #495057 #495057 #212529;
}

[data-bs-theme="dark"] .tab-content {
    border-color: #495057;
}

/* Card footer in dark mode */
[data-bs-theme="dark"] .card-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Version Number */
.version-number {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    z-index: 1000;
    pointer-events: none;
    user-select: none;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .version-number {
    color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.6);
} 