/* CareerAlign Logo System - Perception Shift Concept */

/* Base Logo Styles */
.careeralign-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.perception-icon {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* Primary Animated Version */
.perception-main .shape1 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0.9;
    animation: pulse1 3s ease-in-out infinite;
}

.perception-main .shape2 {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    position: absolute;
    top: 18px;
    left: 25px;
    opacity: 0.8;
    animation: pulse2 3s ease-in-out infinite 0.5s;
}

.perception-main .shape3 {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 15px;
    opacity: 0.9;
    animation: pulse3 3s ease-in-out infinite 1s;
}

/* Minimal Version (for small spaces) */
.perception-minimal .shape1 {
    width: 40px;
    height: 40px;
    border: 3px solid #1e3a8a;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0.7;
}

.perception-minimal .shape2 {
    width: 30px;
    height: 30px;
    border: 2px solid #10b981;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 20px;
    opacity: 0.8;
}

.perception-minimal .shape3 {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    position: absolute;
    top: 24px;
    left: 30px;
}

/* White Version for Dark Backgrounds */
.perception-white .shape1 {
    background: rgba(255,255,255,0.9);
}

.perception-white .shape2 {
    background: rgba(255,255,255,0.7);
}

.perception-white .shape3 {
    background: rgba(255,255,255,0.8);
}

/* Size Variations */
.logo-large {
    font-size: 32px;
}

.logo-large .perception-icon {
    width: 80px;
    height: 80px;
}

.logo-medium {
    font-size: 20px;
}

.logo-medium .perception-icon {
    width: 40px;
    height: 40px;
}

.logo-medium .shape1 {
    width: 24px;
    height: 24px;
    top: 5px;
    left: 5px;
}

.logo-medium .shape2 {
    width: 18px;
    height: 18px;
    top: 12px;
    left: 17px;
}

.logo-medium .shape3 {
    width: 15px;
    height: 15px;
    top: 20px;
    left: 10px;
}

.logo-small {
    font-size: 14px;
}

.logo-small .perception-icon {
    width: 24px;
    height: 24px;
}

.logo-small .shape1 {
    width: 14px;
    height: 14px;
    top: 3px;
    left: 3px;
}

.logo-small .shape2 {
    width: 10px;
    height: 10px;
    top: 7px;
    left: 12px;
}

.logo-small .shape3 {
    width: 9px;
    height: 9px;
    top: 12px;
    left: 6px;
}

/* Icon Only Versions */
.icon-only {
    gap: 0;
}

.icon-only .logo-text {
    display: none;
}

/* Logo Text Styling */
.logo-text {
    color: #1e3a8a;
    font-weight: 700;
}

.logo-text-white {
    color: white !important;
}

/* Automatic white text on blue backgrounds */
.auth-header .logo-text,
.chat-header .logo-text,
.blue-bg .logo-text,
.bg-blue .logo-text,
.navbar-dark .logo-text,
.header-dark .logo-text,
header[style*="background: #2563eb"] .logo-text,
header[style*="background: #1e3a8a"] .logo-text,
[style*="background: #2563eb"] .logo-text,
[style*="background: #1e3a8a"] .logo-text {
    color: white !important;
}

/* Enhanced logo shapes for blue backgrounds - keep brand colors but increase opacity */
.auth-header .perception-icon .shape1,
.chat-header .perception-icon .shape1 {
    background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
    opacity: 1 !important;
}

.auth-header .perception-icon .shape2,
.chat-header .perception-icon .shape2 {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    opacity: 1 !important;
}

.auth-header .perception-icon .shape3,
.chat-header .perception-icon .shape3 {
    background: linear-gradient(135deg, #60a5fa, #93c5fd) !important;
    opacity: 1 !important;
}

/* Pure white version only when explicitly requested */
.perception-white .shape1 {
    background: rgba(255,255,255,0.9) !important;
}

.perception-white .shape2 {
    background: rgba(255,255,255,0.7) !important;
}

.perception-white .shape3 {
    background: rgba(255,255,255,0.8) !important;
}

/* Animations */
@keyframes pulse1 {
    0%, 100% { 
        transform: scale(1) translateY(0); 
        opacity: 0.9; 
    }
    50% { 
        transform: scale(1.1) translateY(-2px); 
        opacity: 1; 
    }
}

@keyframes pulse2 {
    0%, 100% { 
        transform: scale(1) translateY(0); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.05) translateY(-1px); 
        opacity: 0.9; 
    }
}

@keyframes pulse3 {
    0%, 100% { 
        transform: scale(1) translateY(0); 
        opacity: 0.9; 
    }
    50% { 
        transform: scale(1.08) translateY(-1px); 
        opacity: 1; 
    }
}

/* Hover Effects */
.careeralign-logo:hover .perception-icon {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .logo-large {
        font-size: 24px;
    }
    
    .logo-large .perception-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .careeralign-logo {
        gap: 10px;
    }
    
    .logo-large {
        font-size: 20px;
    }
    
    .logo-large .perception-icon {
        width: 40px;
        height: 40px;
    }
}
