.social-links-wrapper {
    margin-bottom: 15px;
}
.social-link-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.social-icon-select {
    width: 150px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}
.social-icon-select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
.social-text-input,
.social-url-input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background-color: #f7f7f7;
    font-weight: bold;
    color: #475bff;
}

.show-text .social-text-input,
.show-text .social-url-input {
    flex: 1;
}

.hide-text .social-url-input {
    flex: 2; 
}

.social-text-input:focus,
.social-url-input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
.social-text-input::placeholder,
.social-url-input::placeholder {
    color: #999;
    font-size: 13px;
}
.social-text-input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.social-icon-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
.social-icon-preview .icms-svg-icon {
    width: 20px;
    height: 20px;
}
.remove-social-link {
    padding: 6px 12px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}
.add-social-link {
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}
.remove-social-link:hover {
    background: #cc0000;
}
.add-social-link:hover {
    background: #45a049;
}

.social-links-list-front {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}
.social-links-list-front .social_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    background: #f5f5f5;
    transition: all 0.3s ease;
}
.social-links-list-front .social_link:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}
.social-links-list-front .social_link_text {
    font-size: 14px;
    color: #333;
}
.social-links-list-front .icms-svg-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}
.social-links-list-front .social_link:hover .icms-svg-icon {
    transform: scale(1.1);
}

.social_link_facebook-f .icms-svg-icon { color: #3b5998; }
.social_link_github .icms-svg-icon { color: #24292e; }
.social_link_instagram .icms-svg-icon { color: #c13584; }
.social_link_odnoklassniki .icms-svg-icon { color: #ee8208; }
.social_link_vk .icms-svg-icon { color: #4a76a8; }
.social_link_telegram-plane .icms-svg-icon { color: #0088cc; }
.social_link_youtube .icms-svg-icon { color: #ff0000; }
.social_link_whatsapp .icms-svg-icon { color: #25d366; }
.social_link_viber .icms-svg-icon { color: #665CAC; }
.social_link_vimeo .icms-svg-icon { color: #1ab7ea; }
.social_link_steam .icms-svg-icon { color: #000000; }
.social_link_snapchat .icms-svg-icon { color: #FFFC00; }
.social_link_skype .icms-svg-icon { color: #00AFF0; }
.social_link_slack .icms-svg-icon { color: #4A154B; }
.social_link_patreon .icms-svg-icon { color: #FF424D; }
.social_link_yandex .icms-svg-icon { color: #FF0000; }
.social_link_link .icms-svg-icon { color: #333333; }

.base-url-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    user-select: none;
}

.url-input-wrapper {
    position: relative;
    flex: 2;
}

.social-url-input {
    width: 100%;
}

.add-social-link,
.remove-social-link {
    position: relative;
    overflow: hidden;
}
.add-social-link:after,
.remove-social-link:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out;
}
.add-social-link:active:after,
.remove-social-link:active:after {
    width: 200px;
    height: 200px;
}

.url-input-wrapper {
    position: relative;
    flex: 2;
}

.social-url-input {
    width: 100%;
    padding: 6px 12px;
    box-sizing: border-box;
}

.base-url-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    user-select: none;
}