/* Ri-Copy Box Styles */
.ri-copy-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    margin: 20px 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 100%;
}

.ri-copy-body {
    padding: 12px;
}

.ri-copy-row.ri-copy-flex {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ri-copy-btn {
    flex: 1;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ri-copy-btn:hover {
    background: #0056b3;
}

.ri-copy-btn:active {
    transform: scale(0.95);
}

.ri-copy-btn i {
    margin-right: 4px;
}

/* Toast Notification Styles */
.ri-copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 9999;
    animation: ri-toast-fadein 0.3s, ri-toast-fadeout 0.3s 1.7s;
}

@keyframes ri-toast-fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 20px;
        opacity: 1;
    }
}

@keyframes ri-toast-fadeout {
    from {
        bottom: 20px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}