/* =========================================
   PUBLIC COMPANIES LISTING STYLES
   ========================================= */

/* Button Gradients */
.btn-grad-hover {
    transition: all 0.3s ease;
}
.btn-grad-hover:hover {
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.hover-gradient-text {
    transition: all 0.2s ease;
}
.hover-gradient-text:hover {
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Company Cards & Layouts */
.company-card {
    transition: all 0.3s ease;
    border: 1px solid #eef2f6 !important;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    border-color: #9C27B0 !important; 
}

/* Inner Job Cards inside Modal */
.company-job-card {
    transition: all 0.2s ease;
    border: 1px solid #eef2f6 !important;
    background: #ffffff;
}
.company-job-card:hover {
    border-color: #28a745 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transform: translateX(5px);
}

/* Toggles */
.companies-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.companies-list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sidebar & Ads */
.filter-sidebar {
    position: sticky;
    top: 90px; 
}

/* Media Lightbox & Thumbnails */
.media-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    height: 120px;
    width: 100%;
}
.media-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Social Share Icons */
.social-share-icon {
    transition: all 0.3s ease;
}
.social-share-icon:hover {
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    border-color: transparent !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(156, 39, 176, 0.2);
}

/* Modals & Scrollbars */
.border-end-lg {
    border-right: 1px solid #eef2f6;
}

.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: #f1f1f1; }
.modal-body::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }

/* Mobile Responsive */
@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .border-end-lg {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .main-content-area { padding-top: 20px !important; padding-bottom: 40px !important; }
    .media-thumbnail { height: 90px; }
}