form select.form-control {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    padding: 10px 12px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    color: #333;
    font-size: 15px;
    padding: 10px;
}

form select.form-control:focus option:checked {
    background-color: #f5f5f5;
    color: #132d66;
}

form select.form-control:focus {
    border-color: #1a3d99;
    box-shadow: 0 2px 10px rgba(19, 45, 102, 0.2);
    outline: none;
}

.region-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.custom-option img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.company-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transform: translateY(-3px);
}

.company-wrapper {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 20px 5px 20px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
}

.company-line {
    border-bottom: 1px solid #d1d1d1;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.company-line:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.company-title {
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-title:hover {
    color: #132d66;
    text-decoration: none;
}

.arrow-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #333;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.company-line.open .arrow-icon {
    transform: rotate(180deg);
}

.company-desc {
    color: #333;
    font-size: 15px;
    line-height: 2;
    overflow: hidden;
    /*max-height: 0;*/
    transition: max-height 0.3s ease-out;
}

/*.company-line.open .company-desc {*/
/*    max-height: 500px;*/
/*}*/


.custom-select-wrapper {
    position: relative;
    margin-bottom: 16px;
    max-width: 100%;
    user-select: none;
}

.custom-select {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
    gap: 8px;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-option:hover {
    background-color: #f0f0f0;
}

.custom-option.selected {
    font-weight: bold;
    background-color: #e8f4ff;
}

@media (max-width: 576px) {
    .company-title {
        font-size: 16px;
    }
}