.btn {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: var(--spacing-2);
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    border-radius: 8px;
    border: none;
    transition: all 300ms ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: #CDF850;
    color: #171816;
}

.btn--primary:hover {
    background: #F2F2F2;
    color: #171816;
}

.btn--secondary {
    background: transparent;
    color: #CDF850;
    border: 1px solid #CDF850;
}

.btn--secondary:hover {
    background: #CDF850;
    color: #171816;
    border-color: #CDF850;
}

.btn--large {
    height: 56px;
    padding: 10px 32px;
}

.btn--header {
    height: 48px;
    padding: 10px 20px;
}

.btn--small {
    padding: 10px 16px;
    font-size: 16px;
    height: 40px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background: inherit;
    color: inherit;
}

.btn--loading {
    position: relative;
    color: transparent !important;
}

.btn--loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn--outline {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    height: 40px;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #CDF850;
    background: transparent;
    border: 1px solid #CDF850;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn--outline:hover {
    background: #CDF850;
    color: #3B3D36;
}

.btn--sm {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
    height: 40px;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    border-radius: 10px;
}

.btn--sm.btn--primary {
    background: #CDF850;
    color: #3B3D36;
}

.btn--sm.btn--primary:hover {
    background: #F2F2F2;
}

.btn--ghost {
    background: #252622;
    color: #DBE0CC;
    border: none;
    border-radius: 8px;
}

.btn--ghost:hover {
    background: #353732;
}
