/* HandyKea Logo Responsive Styles */

/* Brand image in sidebar */
.brand-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Login logo responsiveness */
.login-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Email logo styles */
.logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-image {
        max-height: 35px;
    }
    
    .login-logo img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .brand-image {
        max-height: 30px;
    }
    
    .login-logo img {
        max-height: 50px;
    }
}

/* Dark theme logo adjustments */
.dark-mode .brand-image {
    filter: brightness(1.1);
}

/* Loading state for logos */
.logo-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Splash screen logo (for future use) */
.splash-logo {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo hover effects for interactive elements */
.brand-link:hover .brand-image {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

.login-logo a:hover img {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}