.partner-company-section {
    width: 100vw;
    position: relative;
    background: #F5F5F5;
}

.partner-company-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: grab;
    user-select: none;
}

.partner-company-container:active {
    cursor: grabbing;
}

/* Partner Companies Grid */
.partner-companies-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 16px 0;
    width: fit-content;
    background: #F5F5F5;
    will-change: transform;
    transition: none;
}

/* Partner Company Cards */
.partner-company-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F5F5;
    border-radius: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    width: auto;
    height: 72px;
    padding: 0 16px;
    cursor: pointer;
}

/* Company Logo */
.company-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 40px;
}

.logo-image {
    width: auto;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    pointer-events: none;
    transform: translateZ(0);
}

.partner-company-card:hover .logo-image {
    filter: grayscale(0%);
}

/* Company Link */
.company-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.company-link:hover {
    opacity: 1;
}

/* Empty State */
.partner-companies-empty {
    text-align: center;
    padding: 60px 20px;
    color: #747475;

}

.partner-companies-empty p {
    margin: 10px 0;
    font-size: 16px;
}

.admin-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.admin-link:hover {
    color: #3a8a6f;
}

/* Responsive Design */
@media (max-width: 1439px) and (min-width: 1024px) {
    .partner-company-card {
        height: 56px;
    }

    .partner-companies-grid {
        gap: 32px;
        padding: 12px 0;
    }
    .company-logo {
        width: auto;
        height: 32px;
    }

    .logo-image {
        height: 32px;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .partner-company-card {
        padding: 12px 16px;
        width: auto;
        height: 56px;
    }

    .partner-companies-grid {
        gap: 16px;
    }
    .company-logo {
        width: auto;
        height: 32px;
    }
    .logo-image {
        width: auto;
        height: 32px;
    }
}

@media (max-width: 767px) {
    .partner-company-card {
        padding: 12px 12px;
        width: auto;
        height: 56px;
    }

    .company-logo {
        width: auto;
        height: 32px;
    }

    .partner-companies-grid {
        gap: 8px;
    }

    .logo-image {
        width: auto;
        height: 32px;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }
}