.ci-wrapper {
    position: relative;
    width: 17%;
}

.opprtunity-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px;
    display: none;
    justify-content: center;
    align-items: flex-start;
}

body.modal-open {
    overflow: hidden;
}

.opportunity-popup{
    width: 50%;
    height: 90%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.2s ease-in-out;
    max-width: 500px;
}

.connect-now-btn{
    color: #fff;
    background-color: var(--color-text);
    font-size: 14px;
}

:root.dark .connect-now-btn{
    color: #000;
}

.connect-now-btn:hover{
    color: #fff;
    background-color: var(--color-text);
}

.opportunities-header p{
    color: #888;
}

:root.dark .opportunity-popup{
    background: rgba(15, 15, 15, 0.95);
}

@keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.opportunity-popup .header{
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #444;
}



.opportunity-popup button{
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--color-text);
    cursor: pointer;
    transition: 0.2s;
}

.opportunity-popup button:hover{
    color: #ff4b4b;
    transform: scale(1.1);
}

.opportunity-popup .body{
    padding: 20px;
    overflow-y: auto;
}

.popup-inner { color: #fff; }
.popup-inner img { width: 100%; border-radius: 10px; }

.info-box {
    background: transparent;
    border: 1px solid #222;
    padding: 12px 10px;
    border-radius: 10px;
    min-height: 7rem;
}

:root.dark .info-box{
    background: #333;
}
.status-badge {
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.partner-tag {
    padding: 4px 10px;
    font-size: 13px;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    white-space: nowrap;
}

.opportunity-card:hover .opportunity-btn i{
    transform: translateX(2px);
}

.opportunity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.opportunity-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width:1000px){

    .ci-wrapper {
        position: relative;
        width: 100%;
    }
}

@media (max-width:992px){

    .opprtunity-overlay{
        align-items: flex-start;
    }

    .opportunity-popup{
        width: 50%;
    }

    .opportunity-popup p, .opportunity-popup li{
        font-size: 11px;
    }

    .opportunity-popup .heading-sm{
        font-size: 11px;
    }

    .opportunity-popup .modalTitle{
        font-size: 16px;
    }

    .opportunity-popup span{
        font-size: 11px;
    }
}

@media (max-width:592px){
    .opportunity-popup{
        width: 90%;
        height: 60%;
    }

    .ci-wrapper {
        width: 100%;
    }

    .cs-wrapper {
        width: 100%;
    }
    .custom-input{
        width: 100%;
    }

    .info-box {
        background: transparent;
        border: 1px solid #222;
        padding: 4px 10px;
        border-radius: 10px;
        min-height: 5rem;
    }
}

#load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.custom-card-wrapper {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.loading .custom-card-wrapper {
    opacity: 0.6;
}

#business-container {
    transition: all 0.3s ease;
}