@font-face {
    font-family: 'Logo';
    src: url("../fonts/logo_font.8c9eaf928b8a.otf") format('opentype');
    font-style: normal;
    font-weight: 500;
}

.b-example-divider {
        width: 100%;
        height: 3rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow:
          inset 0 0.5em 1.5em #0000001a,
          inset 0 0.125em 0.5em #00000026;
      }

.logo {
    font-family: 'Logo', sans-serif;
}

body {
  /*padding-top: 50px;*/
}

/* Spinner styles */
.spinner_location {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner_location.active {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.btn-loading::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-loading.btn-primary::after {
    border-top-color: #fff;
}

/* Page fade-in animation */
.container {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover lift effect
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
*/

/* Smooth button transitions */
.btn {
    transition: all 0.2s ease;
}

/* Fix dropdown menu appearing behind other cards */
.card {
    position: relative;
}

.card .dropdown {
    position: static;
}

.card .dropdown-menu {
    z-index: 1050;
}

/* Alternative: ensure card with open dropdown is on top */
.card:has(.dropdown-menu.show) {
    z-index: 100;
}

/* Ai overlay*/
.ai-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.ai-overlay-content {
    text-align: center;
    padding: 2rem;
}

.ai-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 4px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dark mode support (optional) */
[data-bs-theme="dark"] .ai-overlay {
    background: rgba(33, 37, 41, 0.95);
}