/* Base styles for dark theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c5ce7; /* Purple-ish accent color */
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --border-color: #2d2d2d;
    --bs-body-bg: #1e1e1e !important;
    --bs-card-color: #ccb7b7 !important;
    --bs-dropdown-link-hover-bg: #ff0000 !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #2d2d2d !important;
}
.form-control{
    color: var(--text-primary ) !important;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Card enhancements */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-width: 1px;
}
.card-home {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-width: 1px;
}
.card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Button customization */
.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navbar customization */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Footer customization */
footer {
    border-top: 1px solid var(--border-color);
}

/* Make images look better in dark mode */
img {
    filter: brightness(0.9);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .card {
        margin-bottom: 30px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Main content */
.container {
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Table styling for recent activities */
.table-dark {
    background-color: transparent;
    border-color: var(--border-color);
}

.table-dark th {
    background-color: #212529;
    border-color: var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-dark td {
    border-color: var(--border-color);
    vertical-align: middle;
}

.table-dark.table-hover tbody tr:hover {
    background-color: rgba(108, 92, 231, 0.1);
    cursor: pointer;
}

.bg-darker {
    background-color: #171717 !important;
}

code {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}
