.custom-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    gap: 12px;
    font-weight: bold;
}

.custom-button.single {
    padding: 12px;
}

.nav-button {
    display: inline-flex;
    padding: 0 !important;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.custom-button.icon-right {
    padding: 5px 5px 5px 24px;
}

.custom-button .button-text {
    white-space: nowrap;
}

/* Iconul */
.custom-button .button-icon {
    width: 36px;
    height: 36px;

    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
}

/* Variante */

.custom-button.filled {
    background-color: var(--primary);
    color: var(--text);
}

.custom-button.filled.white {
    background-color: var(--white);
}

.custom-button.filled.white .button-icon {
    background-color: var(--primary);
}
.custom-button.filled.white:hover .button-icon {
    background-color: var(--white);
}

.custom-button.filled .button-icon {
    background-color: var(--white);
}

.custom-button.outline {
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
}

.custom-button.outline .button-icon {
    background-color: var(--primary);
}

/* .custom-button:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.custom-button:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: var(--primary_hover);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
} */

.custom-button:hover {
    opacity: 0.65;
}

.custom-button.single path {
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
}

/* .custom-button.single:hover path {
    fill: #ffffff;
} */

.custom-button:hover:before {
    top: -35%;
    background-color: var(--primary_hover);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.custom-button:hover .button-icon {
    background: var(--white);
    transform: rotate(45deg);
}

.custom-button:hover:after {
    top: -45%;
    background-color: var(--primary_hover);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* Buttons container */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .buttons .custom-button {
        width: 100%;
        justify-content: center;
    }
}