/* Ynor Admin Header Enhancements */
#header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
    border-bottom: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#branding h1 {
    padding: 5px 0;
}

/* Improved logo styling for admin */
.ynor-admin-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ynor-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.ynor-logo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.ynor-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ynor-brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

.ynor-brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.ynor-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ynor-admin-header {
        gap: 8px;
    }
    
    .ynor-logo, .ynor-logo-fallback {
        width: 32px;
        height: 32px;
    }
    
    .ynor-brand-name {
        font-size: 1.1rem;
    }
    
    .ynor-brand-tagline {
        font-size: 0.65rem;
    }
}

/* Login page specific styling */
.login #header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
}

.login .ynor-admin-header {
    justify-content: center;
    text-align: center;
}

.login .ynor-brand-text {
    align-items: center;
}