.bsp-wrapper {
    margin: 16px 0;
}

.bsp-align-left {
    text_align: left;
}

.bsp-align-center {
    text-align: center;
}

.bsp-align-right {
    text-align: right;
}

.bsp-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.bsp-btn:hover,
.bsp-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

.bsp-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.bsp-btn .bsp-icon {
    display: inline-block;
    font-weight: 700;
    margin-right: 8px;
    font-size: 1.2em;
}

.bsp-size-small .bsp-label {
    font-size: 12px;
}

.bsp-size-medium .bsp-label {
    font-size: 14px;
}

.bsp-size-large .bsp-label {
    font-size: 16px;
    letter-spacing: 0.02em;
    padding-right: 2px;
}

/* Popup overlay */

.bsp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.bsp-popup-overlay.bsp-popup-visible {
    display: flex;
}

.bsp-popup-inner {
    position: relative;
    max-width: 420px;
    width: 90%;
}

.bsp-popup-box {
    background: #ffffff;
    padding: 24px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.35);
    text-align: center;
}

.bsp-popup-message {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.bsp-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #444;
}

.bsp-popup-close:hover {
    color: #000;
}
