
.show-company {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
    font-size: 16px;
}

.show-company-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.show-company .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 28px;
    color: #aaa;
    transition: color 0.2s;
}

.show-company .close-btn:hover {
    color: #333;
}

.show-company .company-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.show-company .company-name {
    color: #2c3e50;
    margin-bottom: 5px;
}

.show-company .company-tags {
    margin-top: 10px;
}

.show-company .tag {
    display: inline-block;
    background-color: #e8f4fd;
    color: #3498db;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 12px;
}

.show-company .info-section {
    margin-bottom: 25px;
}

.show-company .section-title {
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 10px;
    margin-bottom: 15px;
}

.show-company .info-row {
    display: flex;
    margin-bottom: 10px;
}

.show-company .info-label {
    width: 150px;
    color: #7f8c8d;
    font-weight: 500;
}

.show-company .info-value {
    flex: 1;
    color: #34495e;
}

.show-company .info-value a {
     color: blue;
}

.show-company .staff-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}        
.show-company .staff-table th {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: left;
    position: sticky;
    top: 0;
}        
.show-company .staff-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.show-company .staff-table-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.show-company .toggleStaff {
    text-align: center;
    margin-top: 6px;
}
#toggleStaffBtn {
    transition: all 0.3s;
}
#toggleStaffBtn:hover {
    /*transform: translateY(-2px);*/
    cursor: pointer;
}

.show-company .financing-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.show-company .financing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.show-company .financing-table th {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: left;
    position: sticky;
    top: 0;
}
.show-company .financing-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.show-company .financing-table td:nth-child(1) {
    color: #3498db;
    font-weight: 500;
}
.show-company .financing-table td:nth-child(2) {
    color: #e74c3c;
    font-weight: 500;
}
.show-company .financing-table a {
    color: #3498db;
    text-decoration: none;
}
.show-company .financing-table a:hover {
    text-decoration: underline;
}
.show-company .toggleFinancing {
    text-align: center;
    margin-top: 6px;
}
#toggleFinancingBtn {
    transition: all 0.3s;
}
#toggleFinancingBtn:hover {
    /*transform: translateY(-2px);*/
    cursor: pointer;
}

@media (max-width: 768px) {
    .show-company-content {
        width: 95%;
        padding: 15px;
    }
    
    .show-company .info-row {
        flex-direction: column;
    }
    
    .show-company .info-label {
        width: 100%;
        margin-bottom: 5px;
    }
}