/*
 * Ridni Core — legacy button classes.
 *
 * Markup left behind by the Funden/TheFude theme (`.btn`, `.btn-theme`, …) still
 * exists across saved Elementor content. This sheet maps it onto the current
 * design system instead of rewriting hundreds of pages. It keeps `!important`
 * because it has to out-shout theme and plugin rules that are still on the page.
 *
 * Disable this sheet only once no saved content uses those classes.
 */

.gva-element-gva-heading-block .btn-border-white { width: auto; }

.btn,
.btn-theme,
.btn-white,
.btn-gray,
.btn-black,
.btn-border,
.btn-border-white {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    width: 100%;

    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    line-height: 1.4;
    text-decoration: none !important;
    text-transform: none !important;

    padding: var(--btn-padding-y) var(--btn-padding-x);
    padding-right: var(--btn-padding-x-icon);
    border-radius: var(--btn-border-radius);
    border: var(--btn-border-width) solid transparent;

    cursor: pointer;
    transition: all 0.35s ease;
    z-index: 1;
}

a.btn::after,
a.btn-theme::after,
a.btn-white::after,
a.btn-gray::after,
a.btn-black::after,
a.btn-border::after,
a.btn-border-white::after {
    content: '\f061';
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: var(--btn-icon-size);
    position: absolute;
    right: var(--btn-icon-pos);
    top: 50%;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.35s ease;
}

a.btn:hover::after,
a.btn-theme:hover::after,
a.btn-white:hover::after,
a.btn-gray:hover::after,
a.btn-black:hover::after,
a.btn-border:hover::after,
a.btn-border-white:hover::after {
    right: var(--btn-icon-pos-hover);
}

/* .btn / .btn-theme / .btn-black → primary purple */
.btn,
.btn-theme,
.btn-black { background-color: #603790 !important; color: #FFFFFF !important; }

.btn:hover,
.btn-theme:hover,
.btn-black:hover { box-shadow: 4px 8px 26.1px rgba(115, 67, 172, 0.39); color: #FFFFFF !important; }

/* .btn-white → outline purple */
.btn-white { background: #FFFFFF !important; border-color: #603790 !important; color: #603790 !important; }
.btn-white:hover { box-shadow: 4px 8px 26.1px rgba(115, 67, 172, 0.2); background: #F9F4FF !important; color: #603790 !important; }

/* .btn-gray / .btn-border → thin outline purple */
.btn-gray,
.btn-border { background: transparent !important; border-color: #E5D7F6 !important; color: #603790 !important; }
.btn-gray:hover,
.btn-border:hover { border-color: #603790 !important; color: #603790 !important; }

/* .btn-border-white → white border on dark */
.btn-border-white { background: transparent !important; border-color: #FFFFFF !important; color: #FFFFFF !important; }
.btn-border-white:hover { background: rgba(255, 255, 255, 0.1) !important; box-shadow: 4px 8px 26.1px rgba(40, 15, 70, 0.43); color: #FFFFFF !important; }

/* Context override used by the heading block */
.btn-color-purple .btn-border-white { border-color: #603790 !important; color: #603790 !important; }
.btn-color-purple .btn-border-white:hover { background: #603790 !important; color: #FFFFFF !important; box-shadow: 4px 8px 26.1px rgba(115, 67, 172, 0.39); }

.btn:disabled,
.btn-theme:disabled,
.btn-white:disabled,
.btn-gray:disabled,
.btn-black:disabled,
.btn-border:disabled,
.btn-border-white:disabled { cursor: not-allowed; opacity: 0.6; box-shadow: none !important; }

.btn:active,
.btn-theme:active,
.btn-white:active,
.btn-gray:active,
.btn-black:active,
.btn-border:active,
.btn-border-white:active { transform: scale(0.96); box-shadow: none; }
