
#company-search-container {
    text-align: center;
    margin: 20px 0;
}
#company-search {
    padding: 12px;
    width: 85%;
    font-size: 17px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}
#company-search:focus {
    border-color: #4CAF50;
}

.group-header {
    background-color: #f9f9f9;
    padding: 12px 15px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    color: #333;
}

.company-name {
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}
.company-name:hover {
    background-color: #f0f0f0;
}

/* پاپ‌آپ */
#company-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#company-popup.active {
    display: flex;
}
.popup-content {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    width: 280px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    font-family: 'IRANSans', sans-serif;
    position: relative;
    animation: popupFadeIn 0.3s ease;
}
.popup-content h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #444;
}
.popup-content p {
    margin: 5px 0;
    font-size: 15px;
    color: #555;
}
.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}
.popup-close:hover {
    color: #000;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
