/**
 * Cregmore Socials Plugin Styles
 * Version: 1.0.0
 */

/* Instagram Widget Styles */
.cregmore-instagram-widget {
    margin: 20px 0;
}

.cregmore-instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
    border: none;
    cursor: pointer;
}

.cregmore-instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
    color: #ffffff !important;
}

.cregmore-instagram-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(188, 24, 136, 0.3);
}

.cregmore-instagram-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.cregmore-instagram-text {
    font-weight: 600;
}

.cregmore-instagram-username {
    margin-left: 8px;
    opacity: 0.9;
    font-weight: 400;
}

.cregmore-instagram-embed {
    max-width: 540px;
    margin: 0 auto;
}

/* Social Links Widget Styles */
.cregmore-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.cregmore-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.cregmore-social-icon svg {
    width: 50%;
    height: 50%;
    transition: transform 0.3s ease;
}

.cregmore-social-icon:hover {
    transform: translateY(-3px);
}

.cregmore-social-icon:hover svg {
    transform: scale(1.1);
}

.cregmore-social-icon:active {
    transform: translateY(-1px);
}

/* Icon Shape Variations */
.cregmore-social-circle {
    border-radius: 50%;
}

.cregmore-social-square {
    border-radius: 0;
}

.cregmore-social-rounded {
    border-radius: 8px;
}

.cregmore-social-minimal {
    background-color: transparent !important;
    box-shadow: none;
}

.cregmore-social-minimal[data-network="facebook"] svg {
    fill: #1877f2;
}

.cregmore-social-minimal[data-network="twitter"] svg {
    fill: #000000;
}

.cregmore-social-minimal[data-network="instagram"] svg {
    fill: #E4405F;
}

.cregmore-social-minimal[data-network="youtube"] svg {
    fill: #ff0000;
}

.cregmore-social-minimal[data-network="tiktok"] svg {
    fill: #000000;
}

.cregmore-social-minimal:hover {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cregmore-instagram-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .cregmore-instagram-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .cregmore-social-icon {
        width: 36px;
        height: 36px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .cregmore-instagram-btn {
        flex-direction: column;
        text-align: center;
    }
    
    .cregmore-instagram-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .cregmore-instagram-username {
        margin-left: 0;
        margin-top: 5px;
        display: block;
    }
}

/* Accessibility */
.cregmore-instagram-btn:focus,
.cregmore-social-icon:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Loading State */
.cregmore-instagram-embed blockquote.instagram-media {
    min-height: 200px;
}
