/**
 * Clipboard Shortcode Styles
 */

.clip-block-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.clip-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    border-bottom-right-radius: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.clip-block-content {
    padding: 20px;
}

.clip-block-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.clip-block-text p {
    margin: 0 0 12px 0;
}

.clip-block-text p:last-child {
    margin-bottom: 0;
}

.clip-block-button {
    position: absolute;
    right: 0;
    bottom: -38px;
    background: #0067b7;
    color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 8px 20px;
    border-radius: 0 0 8px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
}

.clip-block-button:hover {
    background: #005da6;
}

.clip-block-button:active {
    transform: translateY(1px);
}

.clip-block-button.success {
    background: #28a745;
}

.copy-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.clip-block-copied {
    position: absolute;
    right: 150px;
    bottom: -32px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.clip-block-copied.show {
    opacity: 1;
    transform: translateY(0);
}