/* Componente de Botões Padronizado */

/* Base container styling */
.btn {
    position: relative;
    display: inline-block;
    height: 56px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-secondary);
    letter-spacing: -0.32px;
    cursor: pointer;
    border: none;
    width: 223px;
    overflow: hidden;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Modificador Principal (CTA) - Interação e cores */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

/* Animação do Texto no Centro indo para a Esquerda */
.btn .btn-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn:hover .btn-text-wrapper {
    left: 16px;
    transform: translate(0, -50%);
}

/* Animação do Ícone da Direita */
.btn .btn-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translate(-10px, -50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ícone Rotacionado do Figma */
.btn .icon-svg {
    display: block;
}

.btn:hover .btn-icon {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Modificador Ghost CSS */
.btn-ghost {
    background-color: transparent;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    background-color: transparent;
    color: var(--color-primary-hover);
}