/**
 * CRITICAL FIXES - Simple and Direct
 * Version: 2.0 - Simplified
 */

/* ========================================
   LOGO SIZE - FINAL FIX FOR ALL PAGES
   ======================================== */
.top-logo-section img,
img.site-logo-img,
.site-logo-img,
div.top-logo-section img,
.top-logo-section > div > img,
.nav-logo img,
nav .nav-logo img,
.nav img {
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
}

.nav-logo {
    height: auto !important;
}

@media (max-width: 768px) {
    .nav-logo img,
    .top-logo-section img {
        max-height: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .nav-logo img,
    .top-logo-section img,
    .site-logo-img {
        max-height: 40px !important;
        height: 40px !important;
    }
}

/* ========================================
   OWNER MODAL - Prevent freeze
   ======================================== */
#ownerModal {
    transition: opacity 0.3s ease;
}

.owner-modal-content {
    will-change: transform;
}

/* ========================================
   Animations
   ======================================== */
@keyframes ownerModalSlideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ownerModalSlideOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}
