/* ============================= */
/*   COPY NOTIFICATION (ELEGANT)  */
/* ============================= */

.copy-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.98) 0%, rgba(88, 166, 255, 0.98) 100%);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(31, 111, 235, 0.5), 
                0 4px 16px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    z-index: 99999;
    min-width: 240px;
    max-width: 320px;
    opacity: 0;
    transform: translateX(400px) scale(0.85);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% {
        transform: translateX(400px) scale(0.8);
    }
    60% {
        transform: translateX(-10px) scale(1.05);
    }
    80% {
        transform: translateX(5px) scale(0.98);
    }
    100% {
        transform: translateX(0) scale(1);
    }
}

.copy-notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.copy-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    animation: pulseIcon 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.copy-notification-content {
    flex: 1;
    min-width: 0;
}

.copy-notification-title {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.copy-notification-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .copy-notification {
        top: 70px;
        right: 16px;
        left: 16px;
        max-width: none;
        min-width: auto;
    }
}
