/**
 * Widget Styles
 *
 * @package KonDernTang
 * @since 1.0.0
 */

/* Widget Base Styles */
.konderntang-widget {
    margin-bottom: 2rem;
}

.konderntang-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Recent Posts Widget */
.konderntang-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.konderntang-recent-post-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.konderntang-recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.konderntang-recent-post-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.konderntang-recent-post-link:hover {
    color: #0ea5e9;
}

.konderntang-recent-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.konderntang-recent-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.konderntang-recent-post-content {
    flex: 1;
    min-width: 0;
}

.konderntang-recent-post-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.konderntang-recent-post-excerpt {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.konderntang-recent-post-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.konderntang-recent-post-date,
.konderntang-recent-post-category {
    display: inline-block;
}

/* Popular Posts Widget */
.konderntang-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.konderntang-popular-post-item {
    margin-bottom: 0.75rem;
}

.konderntang-popular-post-link {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.konderntang-popular-post-link:hover {
    background-color: #f9fafb;
}

.konderntang-popular-post-number {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d1d5db;
    line-height: 1;
    min-width: 2rem;
}

.konderntang-popular-post-link:hover .konderntang-popular-post-number {
    color: #0ea5e9;
}

.konderntang-popular-post-content {
    flex: 1;
    min-width: 0;
}

.konderntang-popular-post-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.konderntang-popular-post-count {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Related Posts Widget */
.konderntang-related-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.konderntang-related-post-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.konderntang-related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.konderntang-related-post-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.konderntang-related-post-link:hover {
    color: #0ea5e9;
}

.konderntang-related-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.konderntang-related-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.konderntang-related-post-content {
    flex: 1;
    min-width: 0;
}

.konderntang-related-post-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.konderntang-related-post-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Newsletter Widget */
.konderntang-newsletter-description {
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.konderntang-newsletter-message {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.konderntang-newsletter-success {
    background-color: #d1fae5;
    color: #065f46;
}

.konderntang-newsletter-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.konderntang-newsletter-form {
    margin-top: 1rem;
}

.konderntang-newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.konderntang-newsletter-email {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.konderntang-newsletter-email:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.konderntang-newsletter-submit {
    padding: 0.75rem 1.5rem;
    background-color: #0ea5e9;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.konderntang-newsletter-submit:hover {
    background-color: #0284c7;
}

/* Trending Tags Widget */
.konderntang-trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.konderntang-trending-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.konderntang-trending-tag:hover {
    background-color: #0ea5e9;
    color: white;
}

.konderntang-trending-tag-count {
    font-size: 0.75rem;
    opacity: 0.75;
    margin-left: 0.25rem;
}

/* Recently Viewed Widget */
.konderntang-recently-viewed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.konderntang-recently-viewed-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.konderntang-recently-viewed-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.konderntang-recently-viewed-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.konderntang-recently-viewed-link:hover {
    color: #0ea5e9;
}

.konderntang-recently-viewed-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.konderntang-recently-viewed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.konderntang-recently-viewed-content {
    flex: 1;
    min-width: 0;
}

.konderntang-recently-viewed-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.konderntang-recently-viewed-empty {
    color: #9ca3af;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
}

/* Social Links Widget */
.konderntang-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.konderntang-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.konderntang-social-link:hover {
    background-color: #0ea5e9;
    color: white;
    transform: translateY(-2px);
}

.konderntang-social-links-rounded .konderntang-social-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
}

.konderntang-social-links-text .konderntang-social-link {
    background-color: transparent;
    padding: 0.5rem 0;
}

.konderntang-social-icon-facebook::before {
    content: "📘";
}

.konderntang-social-icon-twitter::before {
    content: "🐦";
}

.konderntang-social-icon-instagram::before {
    content: "📷";
}

.konderntang-social-icon-youtube::before {
    content: "📺";
}

.konderntang-social-icon-line::before {
    content: "💬";
}

.konderntang-social-icon-tiktok::before {
    content: "🎵";
}

/* ===================================
   Social Icons (Global - Header/Footer)
   =================================== */
.konderntang-social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.konderntang-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #64748b;
}

.konderntang-social-icon:hover {
    color: var(--social-color, #0ea5e9);
    transform: translateY(-2px);
}

/* Size Variants */
.konderntang-social-size-small .konderntang-social-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.konderntang-social-size-medium .konderntang-social-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.konderntang-social-size-large .konderntang-social-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
}

/* Style Variants */
/* Default (Flat) */
.konderntang-social-style-default .konderntang-social-icon {
    background: transparent;
}

/* Rounded */
.konderntang-social-style-rounded .konderntang-social-icon {
    background-color: #f1f5f9;
    border-radius: 50%;
}

.konderntang-social-style-rounded .konderntang-social-icon:hover {
    background-color: var(--social-color, #0ea5e9);
    color: #ffffff;
}

/* Square */
.konderntang-social-style-square .konderntang-social-icon {
    background-color: #f1f5f9;
    border-radius: 0.375rem;
}

.konderntang-social-style-square .konderntang-social-icon:hover {
    background-color: var(--social-color, #0ea5e9);
    color: #ffffff;
}

/* Outline */
.konderntang-social-style-outline .konderntang-social-icon {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
}

.konderntang-social-style-outline .konderntang-social-icon:hover {
    border-color: var(--social-color, #0ea5e9);
    color: var(--social-color, #0ea5e9);
}

/* Social Icon SVG Icons */
.konderntang-social-icon .social-icon-inner {
    display: block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Facebook */
.konderntang-social-icon-facebook .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

/* Twitter/X */
.konderntang-social-icon-twitter .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

/* Instagram */
.konderntang-social-icon-instagram .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

/* YouTube */
.konderntang-social-icon-youtube .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

/* TikTok */
.konderntang-social-icon-tiktok .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
}

/* LINE */
.konderntang-social-icon-line .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E");
}

/* Pinterest */
.konderntang-social-icon-pinterest .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z'/%3E%3C/svg%3E");
}

/* LinkedIn */
.konderntang-social-icon-linkedin .social-icon-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

/* Location-specific styles */
.konderntang-social-header {
    margin-left: auto;
}

.konderntang-social-footer {
    justify-content: center;
    margin-top: 1rem;
}

/* ===================================
   Social Share Buttons
   =================================== */
.konderntang-social-share {
    margin: 1.5rem 0;
}

.konderntang-share-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.konderntang-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.konderntang-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
}

/* Icon Only Style */
.konderntang-share-style-icon .konderntang-share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
}

.konderntang-share-style-icon .konderntang-share-button:hover {
    background-color: var(--share-color, #0ea5e9);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Icon with Text Style */
.konderntang-share-style-icon-text .konderntang-share-button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #f1f5f9;
    color: #374151;
    font-size: 0.875rem;
}

.konderntang-share-style-icon-text .konderntang-share-button:hover {
    background-color: var(--share-color, #0ea5e9);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Full Button Style */
.konderntang-share-style-button .konderntang-share-button {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--share-color, #0ea5e9);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
}

.konderntang-share-style-button .konderntang-share-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Share Icons */
.share-icon {
    display: block;
    width: 1.25em;
    height: 1.25em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Facebook */
.share-icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

/* Twitter/X */
.share-icon-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

/* LINE */
.share-icon-line {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E");
}

/* Email */
.share-icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z'/%3E%3Cpath d='M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z'/%3E%3C/svg%3E");
}

/* Copy Link */
.share-icon-copy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M19.902 4.098a3.75 3.75 0 00-5.304 0l-4.5 4.5a3.75 3.75 0 001.035 6.037.75.75 0 01-.646 1.353 5.25 5.25 0 01-1.449-8.45l4.5-4.5a5.25 5.25 0 117.424 7.424l-1.757 1.757a.75.75 0 11-1.06-1.06l1.757-1.757a3.75 3.75 0 000-5.304zm-7.389 4.267a.75.75 0 011-.353 5.25 5.25 0 011.449 8.45l-4.5 4.5a5.25 5.25 0 11-7.424-7.424l1.757-1.757a.75.75 0 111.06 1.06l-1.757 1.757a3.75 3.75 0 105.304 5.304l4.5-4.5a3.75 3.75 0 00-1.035-6.037.75.75 0 01-.354-1z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Pinterest */
.share-icon-pinterest {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z'/%3E%3C/svg%3E");
}

/* LinkedIn */
.share-icon-linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

/* WhatsApp */
.share-icon-whatsapp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

/* Floating Position */
.konderntang-share-position-floating {
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    margin: 0;
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.konderntang-share-position-floating .konderntang-share-buttons {
    flex-direction: column;
}

.konderntang-share-position-floating .konderntang-share-button {
    width: 44px;
    height: 44px;
}

/* Top Position */
.konderntang-share-position-top {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Bottom Position */
.konderntang-share-position-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Copy Link Success State */
.konderntang-share-copy.copied {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

.konderntang-share-copy.copied .share-icon-copy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill-rule='evenodd' d='M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 768px) {
    .konderntang-share-position-floating {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        border-radius: 0.75rem 0.75rem 0 0;
        padding: 1rem;
    }

    .konderntang-share-position-floating .konderntang-share-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .konderntang-share-style-icon-text .share-text,
    .konderntang-share-style-button .share-text {
        display: none;
    }

    .konderntang-share-style-icon-text .konderntang-share-button,
    .konderntang-share-style-button .konderntang-share-button {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .konderntang-newsletter-input-group {
        flex-direction: column;
    }

    .konderntang-newsletter-submit {
        width: 100%;
    }
}
