/* DocOnCloud Logo Styles */

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* New Logo with Cloud and Winged Document */
.logo-icon svg .cloud {
    fill: url(#cloudGradient);
}

.logo-icon svg .document {
    fill: url(#docGradient);
}

.logo-icon svg .wing {
    fill: url(#wingGradient);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-text-sub {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

/* Compact Logo (for small spaces) */
.logo-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-compact .logo-icon {
    width: 35px;
    height: 35px;
}

.logo-compact .logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-compact .logo-text-main {
    font-size: 1.2rem;
}

.logo-compact .logo-text-sub {
    font-size: 0.6rem;
}

/* Logo in Navbar */
.navbar-brand .logo-container {
    gap: 0.5rem;
}

.navbar-brand .logo-text-main {
    font-size: 1.3rem;
    color: white;
    -webkit-text-fill-color: white;
}

.navbar-brand .logo-text-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Logo Animation */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.logo-icon.animated {
    animation: logoFloat 3s ease-in-out infinite;
}

