/*
 * GGG Audio Autoplay Button Styles
 */

/* Button: fixed size circle with no internal padding so SVG sizing is reliable */
#ggg-audio-player-button {
    position: fixed;
    z-index: 9999;

    width: 50px;
    height: 50px;
    padding: 0;                /* IMPORTANT: remove default button padding */
    box-sizing: border-box;    /* keep width/height predictable */
    border-radius: 50%;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.25);
    color: #cccccc; /* icon color via currentColor (SVG uses currentColor) */

    line-height: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.2s, transform 0.2s;
}

/* Keep hover effect */
#ggg-audio-player-button:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

/* Make sure inline SVG displays as block (prevent small whitespace) */
#ggg-audio-player-button svg {
    display: block;
    vertical-align: middle;
    /* We rely on JS to set precise width/height; allow a CSS cap if needed */
    max-width: 60%;
    max-height: 60%;
}

/* Position classes keep the current names you already use */
.position-topLeft     { top: 20px; left: 20px; }
.position-topCenter   { top: 20px; left: 50%; transform: translateX(-50%); }
.position-topRight    { top: 20px; right: 20px; }

.position-centerLeft  { top: 50%; left: 20px; transform: translateY(-50%); }
.position-centerCenter{ top: 50%; left: 50%; transform: translate(-50%, -50%); }
.position-centerRight { top: 50%; right: 20px; transform: translateY(-50%); }

.position-bottomLeft  { bottom: 20px; left: 20px; }
.position-bottomCenter{ bottom: 20px; left: 50%; transform: translateX(-50%); }
.position-bottomRight { bottom: 20px; right: 20px; }
