/* =============================================
   BELLAMY NORMAL BUTTON - Elementor Widget CSS
   ============================================= */

.bellamywidget-normal-button-wrap {
    display: flex;
    width: 100%;
}

.bellamywidget-normal-button {
    --bellamy-button-accent: #0073AA;
    --bellamy-button-accent-hover: #005a87;
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.bellamywidget-normal-button * {
    box-sizing: border-box;
}

.bellamywidget-normal-button--full-width {
    width: 100%;
}

/* ==================== LAYOUTS ==================== */
.bellamywidget-normal-button--layout-filled {
    background-color: var(--bellamy-button-accent);
    border-color: var(--bellamy-button-accent);
    color: #ffffff;
}

.bellamywidget-normal-button--layout-filled:hover {
    background-color: var(--bellamy-button-accent-hover);
    border-color: var(--bellamy-button-accent-hover);
    color: #ffffff;
}

.bellamywidget-normal-button--layout-outlined {
    background-color: transparent;
    border-color: var(--bellamy-button-accent);
    color: var(--bellamy-button-accent);
}

.bellamywidget-normal-button--layout-outlined:hover {
    background-color: var(--bellamy-button-accent);
    border-color: var(--bellamy-button-accent);
    color: #ffffff;
}

.bellamywidget-normal-button--layout-textual {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--bellamy-button-accent);
}

.bellamywidget-normal-button--layout-textual:hover {
    color: var(--bellamy-button-accent-hover);
}

.bellamywidget-normal-button--layout-textual .bellamywidget-normal-button-text {
    position: relative;
}

.bellamywidget-normal-button--layout-textual .bellamywidget-normal-button-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.bellamywidget-normal-button--layout-textual:hover .bellamywidget-normal-button-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==================== SIZES ==================== */
.bellamywidget-normal-button--size-small {
    padding: 8px 18px;
    font-size: 12px;
}

.bellamywidget-normal-button--size-medium {
    padding: 12px 26px;
    font-size: 14px;
}

.bellamywidget-normal-button--size-large {
    padding: 16px 34px;
    font-size: 16px;
}

.bellamywidget-normal-button--size-extra-large {
    padding: 20px 44px;
    font-size: 18px;
}

/* ==================== TEXT & ICON ==================== */
.bellamywidget-normal-button-text {
    display: inline-block;
}

.bellamywidget-normal-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.bellamywidget-normal-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ==================== TYPE: INNER BORDER ==================== */
/* Adds a divider line between the icon and the text. */
.bellamywidget-normal-button--type-inner-border.bellamywidget-normal-button--icon-before .bellamywidget-normal-button-icon {
    padding-right: 14px;
    border-right: 1px solid currentColor;
}

.bellamywidget-normal-button--type-inner-border.bellamywidget-normal-button--icon-after .bellamywidget-normal-button-icon {
    padding-left: 14px;
    border-left: 1px solid currentColor;
}

/* ==================== TYPE: BOXED ICON ==================== */
/* The icon sits inside its own solid box, edge to edge with the button. */
.bellamywidget-normal-button--type-boxed-icon {
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
    overflow: hidden;
}

.bellamywidget-normal-button--type-boxed-icon .bellamywidget-normal-button-text {
    padding: 14px 20px;
}

.bellamywidget-normal-button--type-boxed-icon .bellamywidget-normal-button-icon {
    align-self: stretch;
    width: 44px;
    background-color: rgba(0, 0, 0, 0.12);
}

.bellamywidget-normal-button--type-boxed-icon.bellamywidget-normal-button--icon-after .bellamywidget-normal-button-icon {
    margin-left: auto;
}

/* ==================== HOVER MICRO-INTERACTION ==================== */
.bellamywidget-normal-button--icon-after:hover .bellamywidget-normal-button-icon {
    transform: translateX(4px);
}

.bellamywidget-normal-button--icon-before:hover .bellamywidget-normal-button-icon {
    transform: translateX(-4px);
}

.bellamywidget-normal-button--type-boxed-icon:hover .bellamywidget-normal-button-icon {
    transform: none;
}
