.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}
.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}
.bi {
    vertical-align: -.125em;
    fill: currentColor;
}
.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}
.card.h-100 ul {
    margin-bottom: 48px !important;
}
.card.h-100 .btn {
    width: calc(100% - 32px) !important;
    position: absolute;
    bottom: 16px;
    left: 16px;
}
.form-control:focus {
    box-shadow: revert;
}
.signin-link {
    color: var(--bs-body-color) !important;
}
.signin-link:hover {
    color: var(--bs-primary) !important;
}

/* Modern Theme Toggle Switch */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle-label {
    font-size: 0.875rem;
    color: var(--bs-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.theme-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--bs-gray-200);
    border: 2px solid var(--bs-border-color);
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 2px;
}

.theme-switch:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.theme-switch-handle {
    width: 24px;
    height: 24px;
    background: var(--bs-body-bg);
    border-radius: 50%;
    position: absolute;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bs-border-color);
}

.theme-switch-handle i {
    font-size: 12px;
    color: var(--bs-secondary);
    transition: color 0.3s ease;
}

/* Dark mode active state */
[data-bs-theme="dark"] .theme-switch {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .theme-switch-handle {
    transform: translateX(28px);
    background: white;
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .theme-switch-handle i {
    color: var(--bs-primary);
}

/* Hide label text on mobile */
@media (max-width: 768px) {
    .theme-toggle-label {
        display: none;
    }
}

/* Loading state for smooth theme switching */
.theme-switching * {
    transition: none !important;
}
