/* Main container for the buttons below each quote */
.iqe-button-container {
    display: flex;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    /* --- NEW RULES TO CENTER THE BUTTONS --- */
    justify-content: center; /* This is the magic property */
    padding-left: 10px; /* Optional: adds a little space on the left */
    padding-right: 10px; /* Optional: adds a little space on the right */
}

/* Base styling for all our custom buttons */
.iqe-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.iqe-btn:hover {
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Button specific colors */
.iqe-btn-copy { background-color: #0979ff; } /* Primary Dark */
.iqe-btn-download { background-color: #209aff; } /* Primary */
.iqe-btn-design { background-color: #4abbff; } /* Accent */
.iqe-btn-share { background-color: #333333; }

/* Hover state colors */
.iqe-btn-copy:hover { background-color: #0060cb; }
.iqe-btn-download:hover { background-color: #007ae6; }
.iqe-btn-design:hover { background-color: #2fb1ff; }
.iqe-btn-share:hover { background-color: #1a1a1a; }

/* Share options popup (initially hidden) */
.iqe-share-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 5px;
    z-index: 1000;
    min-width: 150px;
}

.iqe-share-options a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}

.iqe-share-options a:hover {
    background-color: #f5f5f5;
}

/* START: Style for the source text inside a blockquote */
.iqe-blockquote-source {
    font-size: 0.6em; /* Makes the font 60% smaller than the parent text */
    opacity: 0.8;     /* Makes it slightly transparent to look subtle */
    font-style: italic; /* Makes the text italic, which looks nice for sources */
}
/* END: Style for the source text */