/* Copy Notification Styles - Apple-inspired design */

.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(50, 50, 50, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    max-width: 90%;
    width: auto;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
}

.copy-notification-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-notification-icon svg {
    width: 24px;
    height: 24px;
    fill: #00c853;
}

.copy-notification-content {
    display: flex;
    flex-direction: column;
}

.copy-notification-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.copy-notification-message {
    font-size: 14px;
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Animation for the notification */
@keyframes notification-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes notification-fade-out {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

.copy-notification.show {
    animation: notification-fade-in 0.3s forwards;
}

.copy-notification.hide {
    animation: notification-fade-out 0.3s forwards;
}

/* Media queries for responsive design */
@media screen and (max-width: 480px) {
    .copy-notification {
        padding: 12px 16px;
    }
    
    .copy-notification-title {
        font-size: 14px;
    }
    
    .copy-notification-message {
        font-size: 12px;
    }
    
    .copy-notification-icon svg {
        width: 20px;
        height: 20px;
    }
}
