/**
 * Glendora K9 Shortcodes — Front-end Styles
 *
 * @package GK9_Shortcodes
 */

/* ── Layout Wrapper ── */
.gk9-wrap {
    margin: 20px 0;
    box-sizing: border-box;
}

/* Alignment */
.gk9-align-left {
    text-align: left;
}

.gk9-align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gk9-align-right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

/* Full width */
.gk9-width-full {
    width: 100%;
}

/* ── Plain Link Style (type="link") ── */
.gk9-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.gk9-link:hover,
.gk9-link:focus {
    text-decoration: none;
    opacity: 0.8;
}

/* ── Eventbrite Checkout Container ── */
.gk9-eventbrite-checkout {
    width: 100%;
    max-width: none;
}

/* ── Custom Styled Button (from Button Style Manager) ── */
.gk9-styled-btn {
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.gk9-styled-btn.gk9-btn-full {
    display: block;
    width: 100%;
}

.gk9-styled-btn:hover,
.gk9-styled-btn:focus {
    transform: translateY(-1px);
    opacity: 0.92;
}

/* ── Eventbrite Button ── */
.gk9-eventbrite-button {
    display: inline-block;
    background: linear-gradient(135deg, #F05537 0%, #D23E27 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.gk9-eventbrite-button.gk9-btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

.gk9-eventbrite-button:hover,
.gk9-eventbrite-button:focus {
    background: linear-gradient(135deg, #D23E27 0%, #B02E1C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 85, 55, 0.4);
    outline: 2px solid #B02E1C;
    outline-offset: 2px;
}

/* ── Venmo Button ── */
.gk9-venmo-button-el {
    display: inline-block;
    background: linear-gradient(135deg, #3D95CE 0%, #008CFF 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.gk9-venmo-button-el.gk9-btn-full {
    display: block;
    width: 100%;
}

.gk9-venmo-button-el:hover,
.gk9-venmo-button-el:focus {
    background: linear-gradient(135deg, #008CFF 0%, #0077DD 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(61, 149, 206, 0.4);
    outline: 2px solid #0077DD;
    outline-offset: 2px;
}

/* ── Default Generic Button (gk9_button) ── */
.gk9-default-btn {
    display: inline-block;
    background: #1d2327;
    color: #ffffff;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.gk9-default-btn.gk9-btn-full {
    display: block;
    width: 100%;
}

.gk9-default-btn:hover,
.gk9-default-btn:focus {
    background: #3c434a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

/* ── Icons inside buttons (Material Symbols) ── */
.gk9-styled-btn .gk9-mi,
.gk9-eventbrite-button .gk9-mi,
.gk9-venmo-button-el .gk9-mi,
.gk9-default-btn .gk9-mi {
    font-size: inherit;
    line-height: inherit;
    width: auto;
    height: auto;
    vertical-align: middle;
    margin-right: 4px;
    color: inherit;
}

/* ── Venmo QR Code ── */
.gk9-venmo-qr {
    text-align: center;
    margin: 0 auto;
}

.gk9-venmo-qr img {
    width: 100%;
    height: auto;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
}

.gk9-venmo-qr p {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #666666;
}
