                
  

       /* Estilos con prefijo único para evitar conflictos */
.ig-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ig-body {


    line-height: 1.6;
          font-family: Arial, sans-serif;
}

.ig-header {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.ig-header h1 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.ig-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, #01b4b5, #833ab4);
    border-radius: 2px;
}

.ig-header p {
    color: #000000;
    font-size: 1.1rem;
    margin-top: 20px;
}

.ig-profile-selector {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ig-profile-selector input {
    width: 70%;
    padding: 14px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ig-profile-selector input:focus {
    outline: none;
    border-color: #01b4b5;
    box-shadow: 0 0 0 3px rgba(1, 180, 181, 0.2);
}

.ig-profile-selector button {
    background: #01b4b5;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.ig-profile-selector button:hover {
    background: #019a9b;
    transform: translateY(-2px);
}

.ig-profile-selector button i {
    margin-left: 8px;
}

.ig-profile-list-container {
    position: relative;
    margin: 20px 0 40px;
}

.ig-profile-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 15px 0;
    margin: 0 40px;
}

.ig-profile-list::-webkit-scrollbar {
    height: 6px;
}

.ig-profile-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ig-profile-list::-webkit-scrollbar-thumb {
    background: #01b4b5;
    border-radius: 10px;
}

.ig-profile-tag {
    background: #f0f0f0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.ig-profile-tag:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.ig-profile-tag a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.ig-profile-tag .ig-remove {
    margin-left: 10px;
    cursor: pointer;
    color: #888;
    font-weight: bold;
    transition: color 0.3s ease;
}

.ig-profile-tag .ig-remove:hover {
    color: #ff4d4d;
}

.ig-profile-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.ig-profile-control-btn {
    background: #01b4b5;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(1, 180, 181, 0.3);
    pointer-events: all;
}

.ig-profile-control-btn:hover {
    background: #019a9b;
    transform: scale(1.1);
}

.ig-instagram-feed {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.ig-instagram-feed::-webkit-scrollbar {
    height: 8px;
}

.ig-instagram-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ig-instagram-feed::-webkit-scrollbar-thumb {
    background: #01b4b5;
    border-radius: 10px;
}

.ig-post-container {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    background: #fff;
    scroll-snap-align: start;
}

.ig-post-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.ig-post-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.ig-controls {
    display: flex;
    justify-content: center;
    margin: 20px 0 50px;
}

.ig-control-btn {
    background: #01b4b5;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(1, 180, 181, 0.3);
}

.ig-control-btn:hover {
    background: #019a9b;
    transform: scale(1.1);
}

.ig-control-btn:active {
    transform: scale(0.95);
}

.ig-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.ig-loading i {
    font-size: 2.5rem;
    color: #01b4b5;
    margin-bottom: 15px;
    animation: ig-spin 1.5s linear infinite;
}

@keyframes ig-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ig-error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 18px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ig-retry-button {
    background: #c62828;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ig-retry-button:hover {
    background: #b71c1c;
}

.ig-instructions {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 700px;
    text-align: center;
    font-size: 15px;
    color: #555;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ig-instructions h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.ig-footer {
    text-align: center;
    margin: 50px 0 30px;
    color: #888;
    font-size: 14px;
}

.ig-footer a {
    color: #01b4b5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.ig-footer a:hover {
    color: #019a9b;
}

.ig-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(150%);
    transition: transform 0.4s ease;
}

.ig-notification-success {
    background: #4caf50;
}

.ig-notification-warning {
    background: #ff9800;
}

.ig-notification-error {
    background: #f44336;
}

@media (max-width: 768px) {
    .ig-header h1 {
        font-size: 1.8rem;
    }
    
    .ig-header p {
        font-size: 0.95rem;
    }
    
    .ig-instructions {
        font-size: 14px;
    }
    
    .ig-instructions h3 {
        font-size: 1.1rem;
    }
    
    .ig-post-container {
        flex: 0 0 calc(50% - 10px);
    }
    
    .ig-profile-selector input {
        width: 65%;
        font-size: 15px;
    }
    
    .ig-profile-selector button {
        padding: 12px 18px;
        font-size: 15px;
    }
    
    .ig-profile-tag {
        font-size: 13px;
    }
    
    .ig-footer {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ig-header h1 {
        font-size: 1.6rem;
    }
    
    .ig-header p {
        font-size: 0.9rem;
    }
    
    .ig-instructions {
        font-size: 13px;
    }
    
    .ig-instructions h3 {
        font-size: 1rem;
    }
    
    .ig-post-container {
        flex: 0 0 calc(100% - 10px);
    }
    
    .ig-profile-selector input {
        width: 100%;
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .ig-profile-selector button {
        margin-left: 0;
        width: 100%;
        font-size: 14px;
    }
    
    .ig-profile-tag {
        font-size: 12px;
    }
    
    .ig-footer {
        font-size: 12px;
    }
    
    .ig-control-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .ig-profile-control-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}