body {
    font-family: var(--font-body);
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
}

.card {
    border: 1px solid var(--card-border-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: var(--card-background-color);
}

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

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

[data-theme='dark'] .navbar {
    background-color: rgba(33, 37, 41, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background-color: var(--background-color);
    color: var(--text-color);
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    border-color: var(--primary-color);
}

.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
   background-color: var(--secondary-color);
   border-color: var(--secondary-color);
   color: #fff;
}

.text-muted {
    color: var(--text-color) !important;
    opacity: 0.7;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.list-group-item {
    background-color: var(--list-group-bg);
    border-color: var(--list-group-border);
    color: var(--text-color);
}

.footer {
    background-color: var(--card-background-color);
    border-top: 1px solid var(--border-color);
}

.favorite-icon.is-favorite {
    color: var(--secondary-color) !important;
}

.logo-text-primary {
    fill: var(--primary-color);
}

.favorite-icon:not(.is-favorite) {
    color: var(--text-color);
    opacity: 0.5;
}

[data-theme='dark'] .nav-link {
    color: var(--text-color);
}

[data-theme='dark'] .dropdown-menu {
    background-color: var(--card-background-color);
    border: 1px solid var(--border-color);
}

[data-theme='dark'] .dropdown-item {
    color: var(--text-color);
}

[data-theme='dark'] .dropdown-item:hover, [data-theme='dark'] .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .navbar-toggler-icon {
    filter: invert(1);
}

[data-theme='dark'] .btn-outline-primary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}