/* Admin Panel Styles */

/* Company Management Styles */
.company-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.company-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.status-badge {
    min-width: 80px;
}

.company-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Logo Styles */
.sidebar-header {
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem !important;
}

.sidebar-header img {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.sidebar-header img:hover {
    transform: scale(1.02);
}

/* Logo container for better spacing */
.logo-container {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Header */
.mobile-header {
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-header .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-header img {
    filter: none; /* Ensure logo is visible on white background */
}

/* Sidebar Layout */
.sidebar {
    min-height: 100vh;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar-header img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .mobile-header {
        padding: 1.5rem 1rem;
    }
    
    .mobile-header img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Animation for logo on page load */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-header img, .mobile-header img {
    animation: logoFadeIn 0.5s ease-out;
}