/**
 * Standard Button Type
 * --------------------
 * Primary CTA button: dark blue, white text, rounded corners.
 * Hover: squared corners (90°), SVG arrow on left, text nudges right.
 *
 * Usage: Add class "btn-standard" to any <a> or <button>
 * Example: <a href="..." class="btn-standard">Your text</a>
 *
 * Specs:
 *   Default:  #082B4F bg, white text, border-radius 0.5rem
 *   Hover:    #0a3a68 bg, border-radius 0, arrow icon (1.08em)
 */

.btn-standard,
.cta-selfshow-btn {
    display: inline-block;
    position: relative;
    padding: 0.75rem 1.5rem;
    background: #082B4F !important;
    color: #fff !important;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-radius 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.btn-standard::before,
.cta-selfshow-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 0;
    height: 0;
}

.btn-standard:hover,
.cta-selfshow-btn:hover {
    background: #0a3a68 !important;
    color: #fff !important;
    border-radius: 0;
    padding-left: 2.25rem;
}

.btn-standard:hover::before,
.cta-selfshow-btn:hover::before {
    content: '';
    left: 1rem;
    opacity: 1;
    width: 1.08em;
    height: 1.08em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Compact variant: 26px height, same standard styling, smaller corner radius */
.btn-standard-compact {
    padding: 0 1rem !important;
    font-size: 0.9rem;
    font-weight: 400;
    height: 26px;
    line-height: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0.25rem;
}
.btn-standard-compact:hover {
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
}
.btn-standard-compact:hover::before {
    left: 0.6rem;
    width: 0.9em;
    height: 0.9em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E");
}
