/* Custom Logo Styles for Radiology Resident Platform */

/* Logo sizing and responsiveness */
.logo-main {
    height: 3rem; /* 48px */
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.logo-admin {
    height: 2rem; /* 32px */
    width: auto;
    max-width: 180px;
    transition: all 0.3s ease;
}

.logo-footer {
    height: 2rem; /* 32px */
    width: auto;
    max-width: 160px;
}

.logo-login {
    height: 4rem; /* 64px */
    width: auto;
    max-width: 240px;
}

/* Icon sizing */
.icon-favicon {
    width: 32px;
    height: 32px;
}

/* Hover effects */
.logo-main:hover,
.logo-admin:hover {
    transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-main {
        height: 2.5rem; /* 40px */
    }
    
    .logo-login {
        height: 3rem; /* 48px */
    }
    
    /* Smaller badge on mobile */
    .premium-badge,
    .free-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
        margin-left: 0.5rem;
    }
    
    .premium-badge .fa-crown,
    .free-badge .fa-user {
        margin-right: 0.25rem;
        font-size: 0.5rem;
    }
}

/* Custom modifications for curved section styling */
@media (min-width: 1024px) {
    .lg\:-mt-36 {
        margin-top: 1rem !important;
    }
}

@media (min-width: 1280px) {
    .xl\:h-40 {
        height: 10rem !important;
    }
}

/* Dark theme compatibility */
.dark .logo-light {
    filter: brightness(0.9);
}

/* Loading states */
.logo-loading {
    opacity: 0.6;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .logo-main,
    .logo-admin,
    .logo-footer,
    .logo-login {
        filter: contrast(1.2);
    }
}

/* Print styles */
@media print {
    .logo-main,
    .logo-admin,
    .logo-footer,
    .logo-login {
        height: 1.5rem;
        filter: grayscale(1);
    }
}

/* Manual override for text positioning issue */
@media (min-width: 1024px) {
    .text-white.-mt-14.sm\:-mt-24.lg\:-mt-36.z-40.relative,
    .lg\:-mt-36 {
        margin-top: 4rem !important;
    }
}

/* Premium/Free Badge Styles */
.premium-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: premium-glow 2s ease-in-out infinite alternate;
}

.premium-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

@keyframes premium-glow {
    0% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }
    100% {
        box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5), 0 0 20px rgba(251, 191, 36, 0.2);
    }
}

.free-badge {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.free-badge:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

/* Crown icon animation for premium badge */
.premium-badge .fa-crown {
    animation: crown-pulse 2s ease-in-out infinite;
}

@keyframes crown-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
